diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-07 20:52:11 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-07 20:52:11 +0100 |
commit | 9473ef4d86d8029237c018c72bf6311a3fe54987 (patch) | |
tree | 4365491f65d07afa76d16fe5af6f5e73d31348ee /src/auditor/taler-auditor-httpd.c | |
parent | b2d8799af1b09b67779df3fd71b84ec59f7e9f7e (diff) | |
download | exchange-9473ef4d86d8029237c018c72bf6311a3fe54987.tar.xz |
fix remaining #6679 issues in exchange
Diffstat (limited to 'src/auditor/taler-auditor-httpd.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c index 1f6413b26..aac6d8a8c 100644 --- a/src/auditor/taler-auditor-httpd.c +++ b/src/auditor/taler-auditor-httpd.c @@ -569,11 +569,18 @@ main (int argc, int fh = -1; enum TALER_MHD_GlobalOptions go; - if (0 >= - GNUNET_GETOPT_run ("taler-auditor-httpd", - options, - argc, argv)) + { + enum GNUNET_GenericReturnValue ret; + + ret = GNUNET_GETOPT_run ("taler-auditor-httpd", + options, + argc, argv); + if (GNUNET_NO == ret) + return 0; + if (GNUNET_SYSERR == ret) + return 3; return 1; + } go = TALER_MHD_GO_NONE; if (auditor_connection_close) go |= TALER_MHD_GO_FORCE_CONNECTION_CLOSE; |