[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: set error code corr
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: set error code correctly, removes compiler warning |
Date: |
Fri, 08 Dec 2017 17:07:26 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 44aaaf9 set error code correctly, removes compiler warning
44aaaf9 is described below
commit 44aaaf9e933fc11998fae276ed2b958fdae265b7
Author: Florian Dold <address@hidden>
AuthorDate: Fri Dec 8 17:07:20 2017 +0100
set error code correctly, removes compiler warning
---
src/bank-lib/bank_api_history.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/bank-lib/bank_api_history.c b/src/bank-lib/bank_api_history.c
index 3b8a83e..fdc1e2a 100644
--- a/src/bank-lib/bank_api_history.c
+++ b/src/bank-lib/bank_api_history.c
@@ -174,6 +174,7 @@ handle_history_finished (void *cls,
switch (response_code)
{
case 0:
+ ec = TALER_EC_INTERNAL_INVARIANT_FAILURE;
break;
case MHD_HTTP_OK:
if (GNUNET_OK !=
@@ -186,6 +187,7 @@ handle_history_finished (void *cls,
break;
}
response_code = MHD_HTTP_NO_CONTENT; /* signal end of list */
+ ec = TALER_EC_NONE;
break;
case MHD_HTTP_NO_CONTENT:
ec = TALER_EC_NONE;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: set error code correctly, removes compiler warning,
gnunet <=