debug: fixed default debug settings
[samba.git] / lib / util / debug.c
index 54e7a5fcf6b9d0833f57f247ee0f76df21f297b4..789abe19c2a1dcaed1652d658c74f25f4f5003ab 100644 (file)
@@ -141,10 +141,12 @@ _PUBLIC_ void reopen_logs(void)
 
        switch (state.logtype) {
        case DEBUG_STDOUT:
+       case DEBUG_DEFAULT_STDOUT:
                state.fd = 1;
                break;
 
        case DEBUG_STDERR:
+       case DEBUG_DEFAULT_STDERR:
                state.fd = 2;
                break;