From: Michael Wallner Date: Mon, 30 Jul 2012 18:29:12 +0000 (+0000) Subject: allow send() without parameter X-Git-Tag: RELEASE_2_1_0_RC3~10^2^2~121 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=76d9a80c059b435bd0975a2cddd8f614837580d5;p=m6w6%2Fext-http allow send() without parameter --- diff --git a/php_http_curl_client.c b/php_http_curl_client.c index d83bd5a..01678d8 100644 --- a/php_http_curl_client.c +++ b/php_http_curl_client.c @@ -1279,7 +1279,7 @@ PHP_HTTP_API php_http_client_ops_t *php_http_curl_client_get_ops(void) #define PHP_HTTP_CURL_CLIENT_ME(method, visibility) PHP_ME(HttpClientCURL, method, PHP_HTTP_ARGS(HttpClientCURL, method), visibility) #define PHP_HTTP_CURL_CLIENT_CLIENT_MALIAS(me, vis) ZEND_FENTRY(me, ZEND_MN(HttpClient_##me), PHP_HTTP_ARGS(HttpClientCURL, me), vis) -PHP_HTTP_BEGIN_ARGS(send, 1) +PHP_HTTP_BEGIN_ARGS(send, 0) PHP_HTTP_ARG_VAL(request, 0) PHP_HTTP_END_ARGS;