gencache: unify a DEBUG message in gencache_set_data_blob()
authorMichael Adam <obnox@samba.org>
Mon, 11 Feb 2013 12:41:12 +0000 (13:41 +0100)
committerMichael 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

index 237faf9d3d32cf768b872a3808acc1aaf706557c..09f4b8d094209c69d231bcdf09f8bcaacd2bd4c5 100644 (file)
@@ -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"));