gencache: fix an extra newline in a DEBUG message in gencache_iterate_blobs_fn()
authorMichael Adam <obnox@samba.org>
Wed, 13 Feb 2013 08:43:19 +0000 (09:43 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 12:58:09 +0000 (13:58 +0100)
by using timestring() instead of ctime()

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/gencache.c

index 09f4b8d094209c69d231bcdf09f8bcaacd2bd4c5..da438fdd5d5441f3bba905544b10d5f2feb49119 100644 (file)
@@ -789,7 +789,7 @@ static int gencache_iterate_blobs_fn(struct tdb_context *tdb, TDB_DATA key,
 
        DEBUG(10, ("Calling function with arguments "
                   "(key=[%s], timeout=[%s])\n",
-                  keystr, ctime(&timeout)));
+                  keystr, timestring(talloc_tos(), timeout)));
 
        state->fn(keystr,
                  data_blob_const(endptr,