From 21f2b9277ff3a878ca57559b96e692f3551320b8 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Wed, 26 Sep 2001 08:35:48 +0000 Subject: 3rd run in back-substitutin Z_* macro's. The val->Z_ cases are all solved now. --- ext/curl/curl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/curl/curl.c') 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); } -- cgit v1.2.1