diff options
Diffstat (limited to 'lib/util/debug.c')
-rw-r--r-- | lib/util/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c index 6f081d45110..d7449c5c690 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -1147,7 +1147,7 @@ bool reopen_logs_internal(void) oldumask = umask( 022 ); for (i = DBGC_ALL; i < debug_num_classes; i++) { - if (dbgc_config[DBGC_ALL].logfile != NULL) { + if (dbgc_config[i].logfile != NULL) { break; } } |