From d3cd2c4fb0abc0400276e46a8452e7d9297129ce Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sun, 28 Oct 2012 20:19:44 +0000 Subject: [PATCH] fix typo --- php_http_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2