diff options
author | Michael Adam <obnox@samba.org> | 2013-02-11 13:41:12 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 13:58:06 +0100 |
commit | 4d3928a8f494661764f4a3367b2f1b94772dedf9 (patch) | |
tree | ed1dd34c515bca25f0e7347978015278f5d82031 /source3/lib | |
parent | 56ee82e8a04a631ec4cee4e3f9a30f9104ca43c7 (diff) | |
download | samba-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/lib')
-rw-r--r-- | source3/lib/gencache.c | 5 |
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")); |