summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-02-13 09:45:09 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 13:58:10 +0100
commit86d78dfa838e8f4432d0ba73828b1f9bfc7877b8 (patch)
tree4e42eebe75a77c2baf0e46874af666948f4de6e3 /source3
parentf7525abf3bc561a2b783523ef82520954c4e9d84 (diff)
downloadsamba-86d78dfa838e8f4432d0ba73828b1f9bfc7877b8.tar.gz
samba-86d78dfa838e8f4432d0ba73828b1f9bfc7877b8.tar.bz2
samba-86d78dfa838e8f4432d0ba73828b1f9bfc7877b8.zip
gencache: fix an extra newline in a DEBUG message in gencache_iterate_fn()
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')
-rw-r--r--source3/lib/gencache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c
index da438fdd5d..e240daa2a4 100644
--- a/source3/lib/gencache.c
+++ b/source3/lib/gencache.c
@@ -859,7 +859,7 @@ static void gencache_iterate_fn(const char *key, DATA_BLOB value,
DEBUG(10, ("Calling function with arguments "
"(key=[%s], value=[%s], timeout=[%s])\n",
- key, valstr, ctime(&timeout)));
+ key, valstr, timestring(talloc_tos(), timeout)));
state->fn(key, valstr, timeout, state->private_data);