[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 04/08: Fix compilation warnings, + enable
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 04/08: Fix compilation warnings, + enable polymorphic /history handler. |
Date: |
Mon, 08 Apr 2019 02:44:36 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository exchange.
commit 704e0913c62e4d2435cf46f911152820c19592f3
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Apr 8 00:33:57 2019 +0200
Fix compilation warnings, + enable polymorphic /history handler.
---
src/bank-lib/fakebank.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 86f4c071..3b32e02c 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -821,6 +821,7 @@ handle_history_skip (const struct HistoryArgs *ha,
return pos->next;
if (hri->count < 0)
return pos->prev;
+ return NULL;
}
@@ -848,6 +849,7 @@ handle_history_step (const struct HistoryArgs *ha,
hri->count++;
return pos->prev;
}
+ return NULL;
}
@@ -1705,9 +1707,9 @@ handle_mhd_request (void *cls,
"/history")) &&
(0 == strcasecmp (method,
MHD_HTTP_METHOD_GET)) )
- return handle_history (h,
- connection,
- con_cls);
+ return handle_history_new (h,
+ connection,
+ con_cls);
/* Unexpected URL path, just close the connection. */
/* we're rather impolite here, but it's a testcase. */
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-exchange] branch master updated (6b6417b1 -> 602093e9), gnunet, 2019/04/07
- [GNUnet-SVN] [taler-exchange] 08/08: notes, gnunet, 2019/04/07
- [GNUnet-SVN] [taler-exchange] 04/08: Fix compilation warnings, + enable polymorphic /history handler.,
gnunet <=
- [GNUnet-SVN] [taler-exchange] 06/08: Set range pointer., gnunet, 2019/04/07
- [GNUnet-SVN] [taler-exchange] 01/08: Finish abstract history builder., gnunet, 2019/04/07
- [GNUnet-SVN] [taler-exchange] 05/08: debug message, gnunet, 2019/04/07
- [GNUnet-SVN] [taler-exchange] 03/08: Finishing /history-range implementation, untested., gnunet, 2019/04/07
- [GNUnet-SVN] [taler-exchange] 02/08: Gather /history implementation(s) in one point., gnunet, 2019/04/07
- [GNUnet-SVN] [taler-exchange] 07/08: Put /history[-range] logic in a dedicate file., gnunet, 2019/04/07