diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-08-15 21:54:06 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-08-15 21:54:06 +0000 |
commit | 9f197a2fc76c8b7b432c18e03090e847c0749558 (patch) | |
tree | 89455bc4aadf977816b38df13f990372cd81d71a /src/util/program.c | |
parent | e7bd08c84f6a87377faeed761f53c1ffea910172 (diff) |
indentation
git-svn-id: https://gnunet.org/svn/gnunet@16583 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/util/program.c')
-rw-r--r-- | src/util/program.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/util/program.c b/src/util/program.c index cccb7db736..f1e95477da 100644 --- a/src/util/program.c +++ b/src/util/program.c @@ -124,9 +124,7 @@ cmd_sorter (__const void *a1, __const void *a2) * @return GNUNET_SYSERR on error, GNUNET_OK on success */ int -GNUNET_PROGRAM_run (int argc, - char *const *argv, - const char *binaryName, +GNUNET_PROGRAM_run (int argc, char *const *argv, const char *binaryName, const char *binaryHelp, const struct GNUNET_GETOPT_CommandLineOption *options, GNUNET_PROGRAM_Main task, void *task_cls) @@ -217,13 +215,10 @@ GNUNET_PROGRAM_run (int argc, lpfx = GNUNET_strdup (binaryName); if (NULL != (spc = strstr (lpfx, " "))) *spc = '\0'; - if ((-1 == (ret = GNUNET_GETOPT_run (binaryName, - allopts, - (unsigned int) argc, argv))) || - ((GNUNET_OK != - GNUNET_log_setup (lpfx, - loglev, - logfile)) || + if ((-1 == + (ret = + GNUNET_GETOPT_run (binaryName, allopts, (unsigned int) argc, argv))) || + ((GNUNET_OK != GNUNET_log_setup (lpfx, loglev, logfile)) || (GNUNET_OK != GNUNET_CONFIGURATION_load (cfg, cc.cfgfile)))) { GNUNET_CONFIGURATION_destroy (cfg); |