fix typo
authorMichael Wallner <mike@php.net>
Sun, 28 Oct 2012 20:19:44 +0000 (20:19 +0000)
committerMichael Wallner <mike@php.net>
Sun, 28 Oct 2012 20:19:44 +0000 (20:19 +0000)
php_http_client.c

index 8a63acd7ca2d37ce622c304562780d69c425ba36..8f51a03a9c535c9ce91ca9deed9691a4b7ebaa40 100644 (file)
@@ -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);
        }