From: Zeev Suraski Date: Mon, 3 Apr 2000 19:00:34 +0000 (+0000) Subject: @- Fix crash resulting from IMAP's error handling (Stanislav) X-Git-Tag: php-4.0RC2~504 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c43fe80d6fd7fb3843e12dd13ed354ef187f3164;p=php @- Fix crash resulting from IMAP's error handling (Stanislav) --- diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 2eb78fedb9..88d005b4db 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -287,7 +287,7 @@ PHP_RSHUTDOWN_FUNCTION(imap) /* output any remaining errors at their original error level */ ecur = IMAPG(imap_errorstack); while (ecur != NIL) { - php_error(ecur->errflg, ecur->LTEXT); + php_error(E_NOTICE, "%s (errflg=%d)", ecur->LTEXT, ecur->errflg); ecur = ecur->next; } mail_free_errorlist(&IMAPG(imap_errorstack));