diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-17 16:59:13 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-17 16:59:13 +0100 |
commit | 28389ca5c164c0b2817370b0035105d7f9e9f2ac (patch) | |
tree | 12865cf77ffe4274c41ec8cbf67c2a383dd51a47 | |
parent | a8331b4db0e922bc24ece455a802c7f5f93782ee (diff) | |
download | merchant-28389ca5c164c0b2817370b0035105d7f9e9f2ac.tar.gz merchant-28389ca5c164c0b2817370b0035105d7f9e9f2ac.tar.bz2 merchant-28389ca5c164c0b2817370b0035105d7f9e9f2ac.zip |
(Attempt to) fix value definition.
-rw-r--r-- | src/backend/taler-merchant-httpd_history.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_history.c b/src/backend/taler-merchant-httpd_history.c index db044d49..cd813830 100644 --- a/src/backend/taler-merchant-httpd_history.c +++ b/src/backend/taler-merchant-httpd_history.c @@ -128,7 +128,7 @@ MH_handler_history (struct TMH_RequestHandler *rh, unsigned int ascending = GNUNET_NO; unsigned long long seconds; struct MerchantInstance *mi; - unsigned long long start = UINT64_MAX; + unsigned long long start; long long delta = -20; enum GNUNET_DB_QueryStatus qs; struct ProcessContractClosure pcc; @@ -228,6 +228,8 @@ MH_handler_history (struct TMH_RequestHandler *rh, "start"); } } + else + start = UINT64_MAX; str = MHD_lookup_connection_value (connection, MHD_GET_ARGUMENT_KIND, |