git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7525ab
)
gencache: fix an extra newline in a DEBUG message in gencache_iterate_fn()
author
Michael Adam
<obnox@samba.org>
Wed, 13 Feb 2013 08:45:09 +0000
(09:45 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 19 Feb 2013 12:58:10 +0000
(13:58 +0100)
by using timestring() instead of ctime()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/gencache.c
patch
|
blob
|
history
diff --git
a/source3/lib/gencache.c
b/source3/lib/gencache.c
index da438fdd5d5441f3bba905544b10d5f2feb49119..e240daa2a441c6910a8d578e2f22564dc49cbe86 100644
(file)
--- 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);