@@ -1258,13 +1258,13 @@ int make_http_soap_request(zval *this_ptr,
12581258
12591259 if ((strcmp (content_encoding ,"gzip" ) == 0 ||
12601260 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 )) {
12661262 ZVAL_STRING (& func , "gzuncompress" );
12671263 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 );
12681268 } else {
12691269 efree (content_encoding );
12701270 zend_string_release_ex (http_headers , 0 );
0 commit comments