cvs: /php4/ext/imap php_imap.c

From: Date: Mon, 03 Apr 2000 19:01:04 +0000
Subject: cvs: /php4/ext/imap php_imap.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13052@lists.php.net to get a copy of this message
zeev Mon Apr 3 12:01:04 2000 EDT Modified files: /php4/ext/imap php_imap.c Log: @- Fix crash resulting from IMAP's error handling (Stanislav) Index: php4/ext/imap/php_imap.c diff -u php4/ext/imap/php_imap.c:1.3 php4/ext/imap/php_imap.c:1.4 --- php4/ext/imap/php_imap.c:1.3 Mon Apr 3 10:00:01 2000 +++ php4/ext/imap/php_imap.c Mon Apr 3 12:00:34 2000 @@ -22,7 +22,7 @@ | PHP 4.0 updates: Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: php_imap.c,v 1.3 2000/04/03 17:00:01 andi Exp $ */ +/* $Id: php_imap.c,v 1.4 2000/04/03 19:00:34 zeev Exp $ */ #define IMAP41 @@ -287,7 +287,7 @@ /* 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));

« previous php.version4 (#13052) next »