summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2004-01-14 08:50:02 +0000
committerAndi Gutmans <andi@php.net>2004-01-14 08:50:02 +0000
commit3286cb35bdbfae25296af622d9c2e73cc4bbf1cf (patch)
tree1480b9fcfaa3c3b8ebb7b96659e866740c9b4ed0 /ext/imap/php_imap.c
parentf3932751d8aeb60b84920948d7d66818b1bfcedd (diff)
downloadphp-git-3286cb35bdbfae25296af622d9c2e73cc4bbf1cf.tar.gz
- Remove use of bogus macro
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r--ext/imap/php_imap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index 61df580469..fd0ddbce2e 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -2131,7 +2131,9 @@ PHP_FUNCTION(imap_utf7_decode)
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);