Re: cvs: php4 /ext/curl curl.c

From: Date: Mon, 10 Sep 2001 00:25:36 +0000
Subject: Re: cvs: php4 /ext/curl curl.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7353@lists.php.net to get a copy of this message
Ok, I guess you weren't sure :) At 03:25 10-09-01, Sterling Hughes wrote:
sterling                Sun Sep  9 20:25:59 2001 EDT
Modified files:
    /php4/ext/curl      curl.c
Log: Revert, this is max error size, not strlen(error) Index: php4/ext/curl/curl.c diff -u php4/ext/curl/curl.c:1.83 php4/ext/curl/curl.c:1.84 --- php4/ext/curl/curl.c:1.83 Sun Sep 9 20:24:29 2001
+++ php4/ext/curl/curl.c        Sun Sep  9 20:25:59 2001
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
*/ -/* $Id: curl.c,v 1.83 2001/09/10 00:24:29 sterling Exp $ */ +/* $Id: curl.c,v 1.84 2001/09/10 00:25:59 sterling Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -961,7 +961,7 @@
        ZEND_FETCH_RESOURCE(ch, php_curl *, zid, -1, le_curl_name, le_curl);
        ch->err.str[CURL_ERROR_SIZE] = 0;
-       RETURN_STRINGL(ch->err.str, CURL_ERROR_SIZE, 1);
+       RETURN_STRINGL(ch->err.str, 1);
} /* }}} */ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.cvs (#7353) next »