Files

32 lines
945 B
Diff

https://bugs.php.net/56932
--- pop3.c.orig 2005-07-25 16:47:03.000000000 -0500
+++ pop3.c 2012-05-16 20:53:32.000000000 -0500
@@ -172,8 +172,7 @@
intern = emalloc(sizeof(pop3_object));
intern->zo.ce = class_type;
- intern->zo.in_get = 0;
- intern->zo.in_set = 0;
+ intern->zo.guards = NULL;
intern->zo.properties = NULL;
intern->ptr = NULL;
@@ -200,7 +199,7 @@
*
* Every user visible function must have an entry in pop3_functions[].
*/
-function_entry pop3_functions[] = {
+zend_function_entry pop3_functions[] = {
PHP_FE(pop3_open, NULL)
PHP_FE(pop3_close, NULL)
PHP_FE(pop3_get_message_count, NULL)
@@ -221,7 +220,7 @@
/* {{{ pop3_class_functions
*/
-function_entry pop3_class_functions[] = {
+zend_function_entry pop3_class_functions[] = {
POP3_ME_MAPPING(pop3, pop3_open, NULL)
POP3_ME_MAPPING(get_message_count, pop3_get_message_count, NULL)
POP3_ME_MAPPING(get_account_size, pop3_get_account_size, NULL)