summaryrefslogtreecommitdiff
path: root/ext/standard/quot_print.c
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-25 22:49:04 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-25 22:49:04 +0000
commit6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5 (patch)
treeb2660d658d42d90c170552b76c11815afd03aed3 /ext/standard/quot_print.c
parent0ddd124d1d58f5f1094c8287e0f3905e6ab45d40 (diff)
downloadphp-git-6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5.tar.gz
2nd phase in back-substitution those macro's
I've got pretty much everything now...
Diffstat (limited to 'ext/standard/quot_print.c')
-rw-r--r--ext/standard/quot_print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/quot_print.c b/ext/standard/quot_print.c
index 97ad6e6efa..e2f2ffc8a0 100644
--- a/ext/standard/quot_print.c
+++ b/ext/standard/quot_print.c
@@ -69,13 +69,13 @@ PHP_FUNCTION(quoted_printable_decode)
}
convert_to_string_ex(arg1);
- if((*arg1)->value.str.len == 0) {
+ if(Z_STRLEN_PP(arg1) == 0) {
/* shortcut */
RETURN_EMPTY_STRING();
}
- str_in = (*arg1)->value.str.val;
- str_out = emalloc((*arg1)->value.str.len+1);
+ str_in = Z_STRVAL_PP(arg1);
+ str_out = emalloc(Z_STRLEN_PP(arg1)+1);
while ( str_in[i] )
{
switch (str_in[i])