From: Michael Wallner Date: Fri, 12 Jun 2009 09:09:59 +0000 (+0000) Subject: * Fixed bug ##16577 typo in http_request_object.c (HttpRequest::addBody) X-Git-Tag: RELEASE_1_6_4~5 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=03f6a3e504225f49618b19ab727caf0eed7b4500;p=m6w6%2Fext-http * Fixed bug ##16577 typo in http_request_object.c (HttpRequest::addBody) --- diff --git a/http_request_object.c b/http_request_object.c index ae04824..460ba24 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -1310,14 +1310,14 @@ PHP_METHOD(HttpRequest, addBody) } if (data_len) { - zval *data = zend_read_property(THIS_CE, getThis(), ZEND_STRS("rrequestBody")-1, 0 TSRMLS_CC); + zval *data = zend_read_property(THIS_CE, getThis(), ZEND_STRS("requestBody")-1, 0 TSRMLS_CC); if (Z_STRLEN_P(data)) { Z_STRVAL_P(data) = erealloc(Z_STRVAL_P(data), (Z_STRLEN_P(data) += data_len) + 1); Z_STRVAL_P(data)[Z_STRLEN_P(data)] = '\0'; memcpy(Z_STRVAL_P(data) + Z_STRLEN_P(data) - data_len, raw_data, data_len); } else { - zend_update_property_stringl(THIS_CE, getThis(), ZEND_STRS("putData")-1, raw_data, data_len TSRMLS_CC); + zend_update_property_stringl(THIS_CE, getThis(), ZEND_STRS("requestBody")-1, raw_data, data_len TSRMLS_CC); } } diff --git a/package2.xml b/package2.xml index d23aa90..060f638 100644 --- a/package2.xml +++ b/package2.xml @@ -28,9 +28,9 @@ support. Parallel requests are available for PHP 5 and greater. mike@php.net yes - 2009-02-12 + 2009-03-17 - 1.6.4-dev + 1.6.4dev 1.6.0 @@ -39,12 +39,10 @@ support. Parallel requests are available for PHP 5 and greater. BSD, revised