[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix return value from main() whe
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix return value from main() when run with -h/-v |
Date: |
Fri, 06 Nov 2020 10:11:17 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 5fbe77bb fix return value from main() when run with -h/-v
5fbe77bb is described below
commit 5fbe77bb76b2c8d76e11ab38bbb08be58e59aab5
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Nov 6 10:11:15 2020 +0100
fix return value from main() when run with -h/-v
---
contrib/gana | 2 +-
src/exchange/taler-exchange-httpd.c | 10 ++++++----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/contrib/gana b/contrib/gana
index 9d38f712..b7a683ef 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 9d38f712c153727dbb895673d6d9841be57c12c9
+Subproject commit b7a683ef6b4ac653ab46517341f626c84c66dffa
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;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix return value from main() when run with -h/-v,
gnunet <=