summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------contrib/gana0
-rw-r--r--src/exchange/taler-exchange-httpd.c10
2 files changed, 6 insertions, 4 deletions
diff --git a/contrib/gana b/contrib/gana
-Subproject 9d38f712c153727dbb895673d6d9841be57c12c
+Subproject b7a683ef6b4ac653ab46517341f626c84c66dff
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 98120a22..aa477eb2 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -1302,11 +1302,13 @@ main (int argc,
int fh = -1;
enum TALER_MHD_GlobalOptions go;
- if (0 >=
- GNUNET_GETOPT_run ("taler-exchange-httpd",
- options,
- argc, argv))
+ ret = GNUNET_GETOPT_run ("taler-exchange-httpd",
+ options,
+ argc, argv);
+ if (ret < 0)
return 1;
+ if (0 == ret)
+ return 0;
if (0 == num_threads)
{
cpu_set_t mask;