improve logging

This commit is contained in:
Christian Grothoff 2021-01-26 12:38:54 +01:00
parent 04de6bcbb4
commit 6cd6582a4f
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1323,7 +1323,10 @@ parse_date_string (const char *date,
( (*end != '\n') &&
(*end != '\r') ) )
{
GNUNET_break_op (0);
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Could not parse date input `%s', failure at `%s'\n",
date,
end);
return GNUNET_SYSERR;
}
t = mktime (&now);