@@ -1258,13 +1258,13 @@ int make_http_soap_request(zval *this_ptr,
1258
1258
1259
1259
if ((strcmp (content_encoding ,"gzip" ) == 0 ||
1260
1260
strcmp (content_encoding ,"x-gzip" ) == 0 ) &&
1261
- zend_hash_str_exists (EG (function_table ), "gzinflate" , sizeof ("gzinflate" )- 1 )) {
1262
- ZVAL_STRING (& func , "gzinflate" );
1263
- ZVAL_STRINGL (& params [0 ], http_body -> val + 10 , http_body -> len - 10 );
1264
- } else if (strcmp (content_encoding ,"deflate" ) == 0 &&
1265
- zend_hash_str_exists (EG (function_table ), "gzuncompress" , sizeof ("gzuncompress" )- 1 )) {
1261
+ zend_hash_str_exists (EG (function_table ), "gzuncompress" , sizeof ("gzuncompress" )- 1 )) {
1266
1262
ZVAL_STRING (& func , "gzuncompress" );
1267
1263
ZVAL_STR_COPY (& params [0 ], http_body );
1264
+ } else if (strcmp (content_encoding ,"deflate" ) == 0 &&
1265
+ zend_hash_str_exists (EG (function_table ), "gzinflate" , sizeof ("gzinflate" )- 1 )) {
1266
+ ZVAL_STRING (& func , "gzinflate" );
1267
+ ZVAL_STR_COPY (& params [0 ], http_body );
1268
1268
} else {
1269
1269
efree (content_encoding );
1270
1270
zend_string_release_ex (http_headers , 0 );
0 commit comments