1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00

@- Fix crash resulting from IMAP's error handling (Stanislav)

This commit is contained in:
Zeev Suraski
2000-04-03 19:00:34 +00:00
parent d0395d6f5b
commit c43fe80d6f

View File

@@ -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));