diff options
author | Zeev Suraski <zeev@php.net> | 2000-04-03 19:00:34 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-04-03 19:00:34 +0000 |
commit | c43fe80d6fd7fb3843e12dd13ed354ef187f3164 (patch) | |
tree | 90a86f074de8dc2e62796792efc07e48c44fd871 /ext/imap/php_imap.c | |
parent | d0395d6f5b0c5d6ab3e3f48f0980b72a5f06e35a (diff) | |
download | php-git-c43fe80d6fd7fb3843e12dd13ed354ef187f3164.tar.gz |
@- Fix crash resulting from IMAP's error handling (Stanislav)
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r-- | ext/imap/php_imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |