diff options
author | Nikita Popov <nikic@php.net> | 2014-09-04 22:49:56 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-09-05 11:20:06 +0200 |
commit | c7206771628c2119eb10444148e936265971ca33 (patch) | |
tree | ee38c1c90b843fc4782b1d61d1dc5ba60e855ba0 /ext/soap/php_http.c | |
parent | 8002e2c06a58e7fbe3f6d47ee9602c85d45c12b0 (diff) | |
download | php-git-c7206771628c2119eb10444148e936265971ca33.tar.gz |
Fix SOAP warnings
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r-- | ext/soap/php_http.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index db8d0b79d6..d1fd2d51ae 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -930,7 +930,7 @@ try_again: */ cookie_itt = strstr(http_headers->val, "Set-Cookie: "); while (cookie_itt) { - char *end_pos, *cookie; + char *cookie; char *eqpos, *sempos; zval *cookies; @@ -940,7 +940,6 @@ try_again: cookies = zend_hash_str_update(Z_OBJPROP_P(this_ptr), "_cookies", sizeof("_cookies")-1, &tmp_cookies); } - end_pos = strstr(cookie_itt,"\r\n"); cookie = get_http_header_value(cookie_itt,"Set-Cookie: "); eqpos = strstr(cookie, "="); |