-do not warn if timestamp is 0, that is valid
This commit is contained in:
parent
e3089761ef
commit
ae60be7644
@ -2055,6 +2055,7 @@ TEH_keys_get_handler (const struct TEH_RequestHandler *rh,
|
|||||||
if ( (NULL == krd) &&
|
if ( (NULL == krd) &&
|
||||||
(ksh->krd_array_length > 0) )
|
(ksh->krd_array_length > 0) )
|
||||||
{
|
{
|
||||||
|
if (0 != last_issue_date.abs_value_us)
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
||||||
"Client provided invalid cherry picking timestamp %s, returning full response\n",
|
"Client provided invalid cherry picking timestamp %s, returning full response\n",
|
||||||
GNUNET_STRINGS_absolute_time_to_string (last_issue_date));
|
GNUNET_STRINGS_absolute_time_to_string (last_issue_date));
|
||||||
|
Loading…
Reference in New Issue
Block a user