diff options
Diffstat (limited to 'src/util/program.c')
-rw-r--r-- | src/util/program.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/program.c b/src/util/program.c index 597bd7584..bfa58dc65 100644 --- a/src/util/program.c +++ b/src/util/program.c | |||
@@ -125,7 +125,7 @@ cmd_sorter (__const void *a1, __const void *a2) | |||
125 | * @param options command line options | 125 | * @param options command line options |
126 | * @param task main function to run | 126 | * @param task main function to run |
127 | * @param task_cls closure for task | 127 | * @param task_cls closure for task |
128 | * @param run_with_schedule GNUNET_NO start the scheduler, GNUNET_YES do not | 128 | * @param run_without_scheduler GNUNET_NO start the scheduler, GNUNET_YES do not |
129 | * start the scheduler just run the main task | 129 | * start the scheduler just run the main task |
130 | * @return GNUNET_SYSERR on error, GNUNET_OK on success | 130 | * @return GNUNET_SYSERR on error, GNUNET_OK on success |
131 | */ | 131 | */ |
@@ -134,7 +134,7 @@ GNUNET_PROGRAM_run2 (int argc, char *const *argv, const char *binaryName, | |||
134 | const char *binaryHelp, | 134 | const char *binaryHelp, |
135 | const struct GNUNET_GETOPT_CommandLineOption *options, | 135 | const struct GNUNET_GETOPT_CommandLineOption *options, |
136 | GNUNET_PROGRAM_Main task, void *task_cls, | 136 | GNUNET_PROGRAM_Main task, void *task_cls, |
137 | int run_with_schedule) | 137 | int run_without_scheduler) |
138 | { | 138 | { |
139 | struct CommandContext cc; | 139 | struct CommandContext cc; |
140 | char *path; | 140 | char *path; |
@@ -250,7 +250,7 @@ GNUNET_PROGRAM_run2 (int argc, char *const *argv, const char *binaryName, | |||
250 | } | 250 | } |
251 | /* run */ | 251 | /* run */ |
252 | cc.args = &argv[ret]; | 252 | cc.args = &argv[ret]; |
253 | if (GNUNET_NO == run_with_schedule) | 253 | if (GNUNET_NO == run_without_scheduler) |
254 | { | 254 | { |
255 | GNUNET_SCHEDULER_run (&program_main, &cc); | 255 | GNUNET_SCHEDULER_run (&program_main, &cc); |
256 | } | 256 | } |