freebsd-ports/mail/pecl-pop3/files/patch-pop3.c
Martin Wilke 174c5f7bf8 The POP3 extension makes it possible for a PHP
script to connect to and interact with a POP3 mail server.
It is based on the PHP streams interface and requires no
external library.

WWW: http://pecl.php.net/package/POP3

PR:		ports/115366
Submitted by:	buganini at gmail.com
2007-08-20 15:48:03 +00:00

15 lines
351 B
C

--- pop3.c Fri Aug 10 04:11:56 2007
+++ pop3.c Fri Aug 10 04:12:25 2007
@@ -172,8 +172,12 @@
intern = emalloc(sizeof(pop3_object));
intern->zo.ce = class_type;
+#if ZEND_MODULE_API_NO >= 20050922
+ intern->zo.guards = NULL;
+#else
intern->zo.in_get = 0;
intern->zo.in_set = 0;
+#endif
intern->zo.properties = NULL;
intern->ptr = NULL;