cvs: php4 /ext/curl curl.c

From: Date: Wed, 03 Jan 2001 16:07:55 +0000
Subject: cvs: php4 /ext/curl curl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3347@lists.php.net to get a copy of this message
sniper Wed Jan 3 08:07:55 2001 EDT Modified files: /php4/ext/curl curl.c Log: Fix pr #8305. Index: php4/ext/curl/curl.c diff -u php4/ext/curl/curl.c:1.33 php4/ext/curl/curl.c:1.34 --- php4/ext/curl/curl.c:1.33 Fri Dec 22 04:57:05 2000 +++ php4/ext/curl/curl.c Wed Jan 3 08:07:55 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: curl.c,v 1.33 2000/12/22 12:57:05 zeev Exp $ */ +/* $Id: curl.c,v 1.34 2001/01/03 16:07:55 sniper Exp $ */ #include "php.h" @@ -649,7 +649,7 @@ memcpy(ret_data + pos, buf, b); pos += b; } - ret_data[stat_sb.st_size - 1] = '\0'; + ret_data[stat_sb.st_size] = '\0'; if (is_temp_file) fclose(fp);

« previous php.cvs (#3347) next »