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:
56ee82e
)
gencache: unify a DEBUG message in gencache_set_data_blob()
author
Michael Adam
<obnox@samba.org>
Mon, 11 Feb 2013 12:41:12 +0000
(13:41 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 19 Feb 2013 12:58:06 +0000
(13:58 +0100)
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 237faf9d3d32cf768b872a3808acc1aaf706557c..09f4b8d094209c69d231bcdf09f8bcaacd2bd4c5 100644
(file)
--- a/
source3/lib/gencache.c
+++ b/
source3/lib/gencache.c
@@
-286,8
+286,9
@@
bool gencache_set_data_blob(const char *keystr, const DATA_BLOB *blob,
return false;
}
- DEBUG(10, ("Adding cache entry with key = %s and timeout ="
- " %s (%d seconds %s)\n", keystr, ctime(&timeout),
+ DEBUG(10, ("Adding cache entry with key=[%s] and timeout="
+ "[%s] (%d seconds %s)\n", keystr,
+ ctime(&timeout),
(int)(timeout - time(NULL)),
timeout > time(NULL) ? "ahead" : "in the past"));