projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix typo
[m6w6/ext-http]
/
php_http_client.c
diff --git
a/php_http_client.c
b/php_http_client.c
index 8a63acd7ca2d37ce622c304562780d69c425ba36..8f51a03a9c535c9ce91ca9deed9691a4b7ebaa40 100644
(file)
--- a/
php_http_client.c
+++ b/
php_http_client.c
@@
-774,7
+774,7
@@
PHP_METHOD(HttpClient, addCookies)
zval *opts = NULL;
if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a!/", &opts)) {
zval *opts = NULL;
if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a!/", &opts)) {
- php_http_client_options_set_subr(getThis(), ZEND_STRS("
ssl
"), opts, 0 TSRMLS_CC);
+ php_http_client_options_set_subr(getThis(), ZEND_STRS("
cookies
"), opts, 0 TSRMLS_CC);
RETVAL_ZVAL(getThis(), 1, 0);
}
RETVAL_ZVAL(getThis(), 1, 0);
}