diff options
author | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-26 08:35:48 +0000 |
---|---|---|
committer | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-26 08:35:48 +0000 |
commit | 21f2b9277ff3a878ca57559b96e692f3551320b8 (patch) | |
tree | 2531c27273ebcf5c475ebc92979134ed89929185 /ext/curl | |
parent | b0468809ff52a10653718cc47e8a760b8ac1b0ad (diff) | |
download | php-git-21f2b9277ff3a878ca57559b96e692f3551320b8.tar.gz |
3rd run in back-substitutin Z_* macro's. The val->Z_ cases are all solved now.
Diffstat (limited to 'ext/curl')
-rw-r--r-- | ext/curl/curl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/curl/curl.c b/ext/curl/curl.c index 21ec7e5cc3..f2c888ca98 100644 --- a/ext/curl/curl.c +++ b/ext/curl/curl.c @@ -577,7 +577,7 @@ PHP_FUNCTION(curl_init) } ch->handlers->write->method = PHP_CURL_STDOUT; - ch->handlers->Z_TYPE_P(write) = PHP_CURL_ASCII; + Z_TYPE_P(ch->handlers->write) = PHP_CURL_ASCII; ch->handlers->read->method = PHP_CURL_DIRECT; ch->handlers->write_header->method = PHP_CURL_IGNORE; @@ -726,7 +726,7 @@ PHP_FUNCTION(curl_setopt) break; case CURLOPT_BINARYTRANSFER: convert_to_long_ex(zvalue); - ch->handlers->Z_TYPE_P(write) = PHP_CURL_BINARY; + Z_TYPE_P(ch->handlers->write) = PHP_CURL_BINARY; break; case CURLOPT_WRITEFUNCTION: zval_add_ref(zvalue); @@ -874,7 +874,7 @@ PHP_FUNCTION(curl_exec) } if (ch->handlers->write->method == PHP_CURL_RETURN) { - if (ch->handlers->Z_TYPE_P(write) != PHP_CURL_BINARY) + if (Z_TYPE_P(ch->handlers->write) != PHP_CURL_BINARY) smart_str_0(&ch->handlers->write->buf); RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 0); } |