diff options
author | Michael Adam <obnox@samba.org> | 2013-02-13 09:46:33 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 13:58:11 +0100 |
commit | f211b57dd28e5aab69480f9e9764864922f988e4 (patch) | |
tree | ee27e6576f7bfb09bea5b83d4fedc77dc9cf61f4 /source3/lib/gencache.c | |
parent | 86d78dfa838e8f4432d0ba73828b1f9bfc7877b8 (diff) | |
download | samba-f211b57dd28e5aab69480f9e9764864922f988e4.tar.gz samba-f211b57dd28e5aab69480f9e9764864922f988e4.tar.xz samba-f211b57dd28e5aab69480f9e9764864922f988e4.zip |
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 <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/lib/gencache.c')
-rw-r--r-- | source3/lib/gencache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |