Reformat debug.
authorTim Potter <tpot@samba.org>
Mon, 8 Sep 2003 01:28:48 +0000 (01:28 +0000)
committerTim Potter <tpot@samba.org>
Mon, 8 Sep 2003 01:28:48 +0000 (01:28 +0000)
(This used to be commit 3aab7a3bc7920b6e479700c176ac7a7b80262f42)

source3/lib/gencache.c

index f3740e3e12789b2a3e89b831c43b55936f765914..da8808af1640d2d07d9ba48c3965749bc9d5c606 100644 (file)
@@ -121,10 +121,11 @@ BOOL gencache_set(const char *keystr, const char *value, time_t timeout)
        keybuf.dsize = strlen(keystr)+1;
        databuf.dptr = strdup(valstr);
        databuf.dsize = strlen(valstr)+1;
-       DEBUG(10, ("Adding cache entry with key = %s; value = %s and timeout \
-                  = %s (%d seconds %s)\n", keybuf.dptr, value, ctime(&timeout),
-                  (int)(timeout - time(NULL)), timeout > time(NULL) ? "ahead" : "in the past"));
-               
+       DEBUG(10, ("Adding cache entry with key = %s; value = %s and timeout ="
+                  " %s (%d seconds %s)\n", keybuf.dptr, value,ctime(&timeout),
+                  (int)(timeout - time(NULL)), 
+                  timeout > time(NULL) ? "ahead" : "in the past"));
+
        ret = tdb_store(cache, keybuf, databuf, 0);
        SAFE_FREE(valstr);
        SAFE_FREE(keybuf.dptr);