[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 06/08: Set range pointer.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 06/08: Set range pointer. |
Date: |
Mon, 08 Apr 2019 02:44:38 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository exchange.
commit 9fc380f7c8ebf8b5623718de376c72e6677b93a6
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Apr 8 01:17:10 2019 +0200
Set range pointer.
---
src/bank-lib/fakebank.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 3139f4ed..f3b58fd2 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -924,8 +924,8 @@ build_history_response (struct MHD_Connection *connection,
json_t *jresponse;
int ret;
- while (GNUNET_YES == advance (ha,
- pos))
+ while (advance (ha,
+ pos))
{
json_t *trans;
char *subject;
@@ -1224,6 +1224,7 @@ handle_history_new (struct TALER_FAKEBANK_Handle *h,
GNUNET_break (0);
return MHD_NO;
}
+ ha.range = &hri;
if (NULL == start)
pos = 0 > hri.count ?
@@ -1258,7 +1259,6 @@ handle_history_new (struct TALER_FAKEBANK_Handle *h,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"/history, start row (0 == no transactions exist): %llu\n",
NULL != pos ? pos->row_id : 0);
-
return build_history_response (connection,
pos,
&ha,
--
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, 2019/04/07
- [GNUnet-SVN] [taler-exchange] 06/08: Set range pointer.,
gnunet <=
- [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