diff options
author | Michael Adam <obnox@samba.org> | 2013-02-13 09:45:09 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 13:58:10 +0100 |
commit | 86d78dfa838e8f4432d0ba73828b1f9bfc7877b8 (patch) | |
tree | 4e42eebe75a77c2baf0e46874af666948f4de6e3 | |
parent | f7525abf3bc561a2b783523ef82520954c4e9d84 (diff) | |
download | samba-86d78dfa838e8f4432d0ba73828b1f9bfc7877b8.tar.gz |
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>
-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 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); |