From 9473ef4d86d8029237c018c72bf6311a3fe54987 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 7 Jan 2021 20:52:11 +0100 Subject: fix remaining #6679 issues in exchange --- src/auditor/taler-auditor-httpd.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/auditor/taler-auditor-httpd.c') 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; -- cgit v1.2.3