From: pdmef Date: Sat, 29 Oct 2005 07:57:09 +0000 (+0000) Subject: Rocco Rutte: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=adbac5bafc8f1ebe348b38342ace473f128d762a 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 --- 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 }