From f211b57dd28e5aab69480f9e9764864922f988e4 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 13 Feb 2013 09:46:33 +0100 Subject: gencache: fix an extra newline in a DEBUG message in gencache_set_data_blob() by using timestring() instead of ctime() Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/lib/gencache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c index e240daa2a4..18bfc7ccf9 100644 --- a/source3/lib/gencache.c +++ b/source3/lib/gencache.c @@ -288,7 +288,7 @@ bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob, DEBUG(10, ("Adding cache entry with key=[%s] and timeout=" "[%s] (%d seconds %s)\n", keystr, - ctime(&timeout), + timestring(talloc_tos(), timeout), (int)(timeout - time(NULL)), timeout > time(NULL) ? "ahead" : "in the past")); -- cgit