summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-02-11 13:41:12 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 13:58:06 +0100
commit4d3928a8f494661764f4a3367b2f1b94772dedf9 (patch)
treeed1dd34c515bca25f0e7347978015278f5d82031 /source3
parent56ee82e8a04a631ec4cee4e3f9a30f9104ca43c7 (diff)
downloadsamba-4d3928a8f494661764f4a3367b2f1b94772dedf9.tar.gz
samba-4d3928a8f494661764f4a3367b2f1b94772dedf9.tar.bz2
samba-4d3928a8f494661764f4a3367b2f1b94772dedf9.zip
gencache: unify a DEBUG message in gencache_set_data_blob()
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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/lib/gencache.c b/source3/lib/gencache.c
index 237faf9d3d..09f4b8d094 100644
--- 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"));