summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/soap/php_http.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index 1e7c61255d..57d420c665 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -279,8 +279,8 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS
}
*/
- /* Try and get headers again
- if (http_status == 100") {
+ /* Try and get headers again */
+ if (http_status == 100) {
efree(http_headers);
if (!get_http_headers(stream, &http_headers, &http_header_size TSRMLS_CC)) {
php_stream_close(stream);
@@ -289,7 +289,6 @@ int get_http_soap_response(zval *this_ptr, char **buffer, int *buffer_len TSRMLS
return FALSE;
}
}
- */
if (strncmp(http_version,"1.1", 3)) {
http_1_1 = 1;