summaryrefslogtreecommitdiff
path: root/alpine/osdep/debuging.c
diff options
context:
space:
mode:
Diffstat (limited to 'alpine/osdep/debuging.c')
-rw-r--r--alpine/osdep/debuging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine/osdep/debuging.c b/alpine/osdep/debuging.c
index 47a056bf..f7a29716 100644
--- a/alpine/osdep/debuging.c
+++ b/alpine/osdep/debuging.c
@@ -74,7 +74,7 @@ init_debug(void)
char newfname[MAXPATH+1], filename[MAXPATH+1], *dfile = NULL;
int i, fd;
- if(!(debug || ps_global->debug_imap || ps_global->debug_tcp))
+ if(!((debug || ps_global->debug_imap || ps_global->debug_tcp) && ps_global->write_debug_file))
return;
for(i = ps_global->debug_nfiles - 1; i > 0; i--){