diff options
author | Jeremy Allison <jra@samba.org> | 2001-06-22 19:46:36 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-06-22 19:46:36 +0000 |
commit | b30485f2a826899e52c419c5e5c97289bf2cc732 (patch) | |
tree | 2a1bfc84127364beebeb9865508074936f1e3710 | |
parent | 097c4632189cb79090aafe422580a0acde3bb381 (diff) | |
download | samba-b30485f2a826899e52c419c5e5c97289bf2cc732.tar.gz samba-b30485f2a826899e52c419c5e5c97289bf2cc732.tar.xz samba-b30485f2a826899e52c419c5e5c97289bf2cc732.zip |
Fix for race condition found by Herb where we can end up with a NULL dbf.
Jeremy.
-rw-r--r-- | source/lib/debug.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/lib/debug.c b/source/lib/debug.c index f7ad324e393..9ce5ee75e6d 100644 --- a/source/lib/debug.c +++ b/source/lib/debug.c @@ -310,14 +310,6 @@ BOOL reopen_logs( void ) FILE *new_dbf = NULL; BOOL ret = True; - if (DEBUGLEVEL_CLASS[ DBGC_ALL ] <= 0) { - if (dbf) { - (void)fclose(dbf); - dbf = NULL; - } - return True; - } - oldumask = umask( 022 ); pstrcpy(fname, debugf ); |