1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00

- sync with HEAD

This commit is contained in:
Pierre Joye
2009-05-18 11:58:04 +00:00
parent 52d8816cf7
commit f77d46ea36
+2 -3
View File
@@ -2044,16 +2044,15 @@ PHP_FUNCTION(curl_getinfo)
{
zval *zid;
php_curl *ch;
int argc = ZEND_NUM_ARGS();
long option = 0;
if (zend_parse_parameters(argc TSRMLS_CC, "r|l", &zid, &option) == FAILURE) {
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &zid, &option) == FAILURE) {
return;
}
ZEND_FETCH_RESOURCE(ch, php_curl *, &zid, -1, le_curl_name, le_curl);
if (argc < 2) {
if (ZEND_NUM_ARGS() < 2) {
char *s_code;
long l_code;
double d_code;