cvs: php-src /ext/imap php_imap.c
| From: | Andi Gutmans | Date: | Wed, 14 Jan 2004 08:50:03 +0000 |
| Subject: | cvs: php-src /ext/imap php_imap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25642@lists.php.net to get a copy of this message | ||
andi Wed Jan 14 03:50:03 2004 EDT
Modified files:
/php-src/ext/imap php_imap.c
Log:
- Remove use of bogus macro
Index: php-src/ext/imap/php_imap.c
diff -u php-src/ext/imap/php_imap.c:1.180 php-src/ext/imap/php_imap.c:1.181
--- php-src/ext/imap/php_imap.c:1.180 Thu Jan 8 03:15:48 2004
+++ php-src/ext/imap/php_imap.c Wed Jan 14 03:50:02 2004
@@ -26,7 +26,7 @@
| PHP 4.0 updates: Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_imap.c,v 1.180 2004/01/08 08:15:48 andi Exp $ */
+/* $Id: php_imap.c,v 1.181 2004/01/14 08:50:02 andi Exp $ */
#define IMAP41
@@ -2131,7 +2131,9 @@
ZEND_WRONG_PARAM_COUNT();
}
- convert_to_writable_string_ex(arg); /* Is this string really modified? */
+ convert_to_string_ex(arg); /* Is this string really modified?
+ If it is use and you don't want it to be seen outside of the function
+ then use zend_get_parameters() */
in = (const unsigned char *) Z_STRVAL_PP(arg);
inlen = Z_STRLEN_PP(arg);