From 771e5cc24716304dd2bf8cbd8aec11d465965d0a Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski Date: Sat, 11 Jun 2016 12:07:28 -0500 Subject: Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error --- ext/imap/php_imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/imap/php_imap.c') diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 6b5d6392c7..6723e4abfe 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -4446,7 +4446,7 @@ static zend_string* _php_rfc822_write_address(ADDRESS *addresslist) char address[SENDBUFLEN]; if (_php_imap_address_size(addresslist) >= SENDBUFLEN) { - zend_throw_error(zend_ce_error, "Address buffer overflow"); + zend_throw_error(NULL, "Address buffer overflow"); return NULL; } address[0] = 0; -- cgit v1.2.1