Bug #15150: curl_errno() [still] reports strange numbers

From: Date: Mon, 21 Jan 2002 15:45:11 +0000
Subject: Bug #15150: curl_errno() [still] reports strange numbers
Groups: php.dev 
Request: Send a blank email to php-dev+get-77694@lists.php.net to get a copy of this message
From: alberto@urizen.it Operating system: linux 2.4.16 PHP version: 4.1.1 PHP Bug Type: cURL related Bug description: curl_errno() [still] reports strange numbers curl_errno() returns strange wrong values (very large numbers.. negative numbers etc..) $ch = curl_init ("http://www.php.net"); curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_HEADER, 0); $page=curl_exec ($ch); $errore=curl_errno($ch); error_log (" curl_errno: $errore",0); curl_close ($ch); my configure options: './configure' '--enable-trans-sid' '--with-mm=/usr/local/src/mm-1.1.3' '--with-mhash' '--with-apxs=/var/lib/apache/sbin/apxs' '--with-mysql' '--with-curl' libcurl version is libcurl 7.9.2 -- Edit bug report at: http://bugs.php.net/?id=15150&edit=1

« previous php.dev (#77694) next »