]> granicus.if.org Git - php/commitdiff
- c/p error
authorPierre Joye <pajoye@php.net>
Sun, 3 May 2009 15:03:53 +0000 (15:03 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 3 May 2009 15:03:53 +0000 (15:03 +0000)
ext/curl/interface.c

index 1b4237c2d2366c2401df67c1985a221d7312f5c9..769ea0d6af42c097809ea3c535612216257ab2ff 100644 (file)
@@ -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) {