[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -do not warn if timestamp is 0,
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -do not warn if timestamp is 0, that is valid |
Date: |
Wed, 16 Jun 2021 11:12:57 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new ae60be76 -do not warn if timestamp is 0, that is valid
ae60be76 is described below
commit ae60be7644699940f3596bc8f9674d36cbe22e25
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jun 16 11:12:55 2021 +0200
-do not warn if timestamp is 0, that is valid
---
src/exchange/taler-exchange-httpd_keys.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_keys.c
b/src/exchange/taler-exchange-httpd_keys.c
index a116e5c9..37c1fcfc 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -2055,9 +2055,10 @@ TEH_keys_get_handler (const struct TEH_RequestHandler
*rh,
if ( (NULL == krd) &&
(ksh->krd_array_length > 0) )
{
- GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Client provided invalid cherry picking timestamp %s,
returning full response\n",
- GNUNET_STRINGS_absolute_time_to_string (last_issue_date));
+ if (0 != last_issue_date.abs_value_us)
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Client provided invalid cherry picking timestamp %s,
returning full response\n",
+ GNUNET_STRINGS_absolute_time_to_string (last_issue_date));
krd = &ksh->krd_array[ksh->krd_array_length - 1];
}
if (NULL == krd)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -do not warn if timestamp is 0, that is valid,
gnunet <=