@@ -509,7 +509,7 @@ int make_http_soap_request(zval *this_ptr,
509
509
ZVAL_NULL (Z_CLIENT_HTTPSOCKET_P (this_ptr ));
510
510
php_stream_close (stream );
511
511
convert_to_null (Z_CLIENT_HTTPURL_P (this_ptr ));
512
- convert_to_null (Z_CLIENT_USE_PROXY_P (this_ptr ));
512
+ ZVAL_NULL (Z_CLIENT_USE_PROXY_P (this_ptr ));
513
513
stream = NULL ;
514
514
use_proxy = 0 ;
515
515
}
@@ -520,7 +520,7 @@ int make_http_soap_request(zval *this_ptr,
520
520
ZVAL_NULL (Z_CLIENT_HTTPSOCKET_P (this_ptr ));
521
521
php_stream_close (stream );
522
522
convert_to_null (Z_CLIENT_HTTPURL_P (this_ptr ));
523
- convert_to_null (Z_CLIENT_USE_PROXY_P (this_ptr ));
523
+ ZVAL_NULL (Z_CLIENT_USE_PROXY_P (this_ptr ));
524
524
stream = NULL ;
525
525
use_proxy = 0 ;
526
526
}
@@ -687,7 +687,7 @@ int make_http_soap_request(zval *this_ptr,
687
687
ZVAL_NULL (Z_CLIENT_HTTPSOCKET_P (this_ptr ));
688
688
php_stream_close (stream );
689
689
convert_to_null (Z_CLIENT_HTTPURL_P (this_ptr ));
690
- convert_to_null (Z_CLIENT_USE_PROXY_P (this_ptr ));
690
+ ZVAL_NULL (Z_CLIENT_USE_PROXY_P (this_ptr ));
691
691
smart_str_free (& soap_headers_z );
692
692
smart_str_free (& soap_headers );
693
693
efree (http_msg );
@@ -905,7 +905,7 @@ int make_http_soap_request(zval *this_ptr,
905
905
ZVAL_NULL (Z_CLIENT_HTTPSOCKET_P (this_ptr ));
906
906
php_stream_close (stream );
907
907
convert_to_null (Z_CLIENT_HTTPURL_P (this_ptr ));
908
- convert_to_null (Z_CLIENT_USE_PROXY_P (this_ptr ));
908
+ ZVAL_NULL (Z_CLIENT_USE_PROXY_P (this_ptr ));
909
909
add_soap_fault (this_ptr , "HTTP" , "Failed Sending HTTP SOAP request" , NULL , NULL , SOAP_GLOBAL (lang_en ));
910
910
smart_str_free (& soap_headers_z );
911
911
efree (http_msg );
@@ -929,7 +929,7 @@ int make_http_soap_request(zval *this_ptr,
929
929
}
930
930
ZVAL_NULL (Z_CLIENT_HTTPSOCKET_P (this_ptr ));
931
931
php_stream_close (stream );
932
- convert_to_null (Z_CLIENT_USE_PROXY_P (this_ptr ));
932
+ ZVAL_NULL (Z_CLIENT_USE_PROXY_P (this_ptr ));
933
933
add_soap_fault (this_ptr , "HTTP" , "Error Fetching http headers" , NULL , NULL , SOAP_GLOBAL (lang_en ));
934
934
smart_str_free (& soap_headers_z );
935
935
efree (http_msg );
@@ -985,7 +985,7 @@ int make_http_soap_request(zval *this_ptr,
985
985
if (http_headers ) {
986
986
zend_string_release_ex (http_headers , 0 );
987
987
}
988
- convert_to_null (Z_CLIENT_USE_PROXY_P (this_ptr ));
988
+ ZVAL_NULL (Z_CLIENT_USE_PROXY_P (this_ptr ));
989
989
if (http_msg ) {
990
990
efree (http_msg );
991
991
}
@@ -1118,7 +1118,7 @@ int make_http_soap_request(zval *this_ptr,
1118
1118
ZVAL_NULL (Z_CLIENT_HTTPSOCKET_P (this_ptr ));
1119
1119
php_stream_close (stream );
1120
1120
zend_string_release_ex (http_headers , 0 );
1121
- convert_to_null (Z_CLIENT_USE_PROXY_P (this_ptr ));
1121
+ ZVAL_NULL (Z_CLIENT_USE_PROXY_P (this_ptr ));
1122
1122
add_soap_fault (this_ptr , "HTTP" , "Error Fetching http body, No Content-Length, connection closed or chunked data" , NULL , NULL , SOAP_GLOBAL (lang_en ));
1123
1123
if (http_msg ) {
1124
1124
efree (http_msg );
@@ -1134,7 +1134,7 @@ int make_http_soap_request(zval *this_ptr,
1134
1134
if (http_close ) {
1135
1135
ZVAL_NULL (Z_CLIENT_HTTPSOCKET_P (this_ptr ));
1136
1136
php_stream_close (stream );
1137
- convert_to_null (Z_CLIENT_USE_PROXY_P (this_ptr ));
1137
+ ZVAL_NULL (Z_CLIENT_USE_PROXY_P (this_ptr ));
1138
1138
stream = NULL ;
1139
1139
}
1140
1140
0 commit comments