[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: fix stale index use
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: fix stale index used by /history |
Date: |
Fri, 24 Mar 2017 13:22:19 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new f88bad9 fix stale index used by /history
f88bad9 is described below
commit f88bad901602d3e603ffe807ef4b85206ae1cbe0
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Mar 24 13:22:02 2017 +0100
fix stale index used by /history
---
src/backend/taler-merchant-httpd_history.c | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_history.c
b/src/backend/taler-merchant-httpd_history.c
index 7779331..967bdd8 100644
--- a/src/backend/taler-merchant-httpd_history.c
+++ b/src/backend/taler-merchant-httpd_history.c
@@ -25,15 +25,6 @@
#include "taler-merchant-httpd.h"
#include "taler-merchant-httpd_responses.h"
-/**
- * Index to the first row to return in response to /history.
- */
-static int start = -1;
-
-/**
- * How many rows we are to return in response to /history.
- */
-static unsigned int delta;
/**
* Function called with information about a transaction.
@@ -102,6 +93,8 @@ MH_handler_history (struct TMH_RequestHandler *rh,
unsigned int ret;
unsigned long long seconds;
struct MerchantInstance *mi;
+ int start = -1;
+ unsigned int delta;
response = json_array (); /*FIXME who decrefs this?*/
str = MHD_lookup_connection_value (connection,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: fix stale index used by /history,
gnunet <=