From: Pierre Joye Date: Sun, 3 May 2009 15:03:35 +0000 (+0000) Subject: - c/p error X-Git-Tag: php-5.3.0RC2~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea57845b6e3e4f27a0ff1f8e1b7c4f61c3441c3d;p=php - c/p error --- diff --git a/ext/curl/interface.c b/ext/curl/interface.c index cc4d0cb660..6c84b86e38 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -962,7 +962,7 @@ static size_t curl_progress(void *clientp, error = zend_call_function(&fci, &t->fci_cache TSRMLS_CC); ch->in_callback = 0; if (error == FAILURE) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot call the CURLOPT_READFUNCTION"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot call the CURLOPT_PROGRESSFUNCTION"); length = -1; } else if (retval_ptr) { if (Z_TYPE_P(retval_ptr) != IS_LONG) {