git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
762dd3c
)
gencache: fix an extra newline in a DEBUG message in gencache_iterate_blobs_fn()
author
Michael Adam
<obnox@samba.org>
Wed, 13 Feb 2013 08:43:19 +0000
(09:43 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 19 Feb 2013 12:58:09 +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 09f4b8d094209c69d231bcdf09f8bcaacd2bd4c5..da438fdd5d5441f3bba905544b10d5f2feb49119 100644
(file)
--- a/
source3/lib/gencache.c
+++ b/
source3/lib/gencache.c
@@
-789,7
+789,7
@@
static int gencache_iterate_blobs_fn(struct tdb_context *tdb, TDB_DATA key,
DEBUG(10, ("Calling function with arguments "
"(key=[%s], timeout=[%s])\n",
- keystr,
ctime(&
timeout)));
+ keystr,
timestring(talloc_tos(),
timeout)));
state->fn(keystr,
data_blob_const(endptr,