We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7477efc commit a1dd4baCopy full SHA for a1dd4ba
1 file changed
ext/soap/php_http.c
@@ -1010,7 +1010,6 @@ int make_http_soap_request(zval *this_ptr,
1010
char *sempos = strstr(cookie, ";");
1011
if (eqpos != NULL && (sempos == NULL || sempos > eqpos)) {
1012
smart_str name = {0};
1013
- int cookie_len;
1014
zval zcookie;
1015
1016
if (sempos != NULL) {
@@ -1026,7 +1025,7 @@ int make_http_soap_request(zval *this_ptr,
1026
1025
add_index_stringl(&zcookie, 0, eqpos + 1, cookie_len);
1027
1028
1029
- char *options = cookie + cookie_len+1;
+ char *options = sempos + 1;
1030
while (*options) {
1031
while (*options == ' ') {options++;}
1032
sempos = strstr(options, ";");
0 commit comments