X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_client.c;h=8f51a03a9c535c9ce91ca9deed9691a4b7ebaa40;hb=64722314d70dc547e477d87927c22b598aa463d0;hp=8a63acd7ca2d37ce622c304562780d69c425ba36;hpb=6384c059a56976898f02505d38f9aed3fc6c6340;p=m6w6%2Fext-http diff --git a/php_http_client.c b/php_http_client.c index 8a63acd..8f51a03 100644 --- 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)) { - 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); }