From adbac5bafc8f1ebe348b38342ace473f128d762a Mon Sep 17 00:00:00 2001 From: pdmef Date: Sat, 29 Oct 2005 07:57:09 +0000 Subject: [PATCH] Rocco Rutte: - fix crash in imap trying to write to not opened (I've seen a backtrace of it somewhere...) git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@567 e385b8ad-14ed-0310-8656-cc95a2468c6d --- VERSION.svn | 2 +- imap/imap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION.svn b/VERSION.svn index 066ce60..97b925a 100644 --- a/VERSION.svn +++ b/VERSION.svn @@ -1 +1 @@ -565 +567 diff --git a/imap/imap.c b/imap/imap.c index a59eb4b..9a2234f 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -214,7 +214,7 @@ int imap_read_literal (FILE * fp, IMAP_DATA * idata, long bytes, progress_t* bar if (bar && !(pos % 1024)) mutt_progress_bar (bar, pos); #ifdef DEBUG - if (DebugLevel >= IMAP_LOG_LTRL) + if (DebugFile && DebugLevel >= IMAP_LOG_LTRL) fputc (c, DebugFile); #endif } -- 2.20.1