From: Michael Adam Date: Mon, 11 Feb 2013 12:41:12 +0000 (+0100) Subject: gencache: unify a DEBUG message in gencache_set_data_blob() X-Git-Tag: tevent-0.9.18~200 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d3928a8f494661764f4a3367b2f1b94772dedf9;p=thirdparty%2Fsamba.git gencache: unify a DEBUG message in gencache_set_data_blob() Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c index 237faf9d3d3..09f4b8d0942 100644 --- a/source3/lib/gencache.c +++ b/source3/lib/gencache.c @@ -286,8 +286,9 @@ bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob, return false; } - DEBUG(10, ("Adding cache entry with key = %s and timeout =" - " %s (%d seconds %s)\n", keystr, ctime(&timeout), + DEBUG(10, ("Adding cache entry with key=[%s] and timeout=" + "[%s] (%d seconds %s)\n", keystr, + ctime(&timeout), (int)(timeout - time(NULL)), timeout > time(NULL) ? "ahead" : "in the past"));