Zero log.indent in child requests
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 15 Dec 2014 01:01:04 +0000 (20:01 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 15 Dec 2014 15:15:46 +0000 (10:15 -0500)
src/main/util.c

index 704727a..7409a6d 100644 (file)
@@ -595,6 +595,7 @@ REQUEST *request_alloc_fake(REQUEST *request)
         *      Copy debug information.
         */
        memcpy(&(fake->log), &(request->log), sizeof(fake->log));
+       fake->log.indent = 0;   /* Apart from the indent which we reset */
 
        return fake;
 }