cvs: php4 /ext/curl curl.c

From: Date: Wed, 11 Jul 2001 23:03:25 +0000
Subject: cvs: php4 /ext/curl curl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6194@lists.php.net to get a copy of this message
sterling Wed Jul 11 19:03:25 2001 EDT Modified files: /php4/ext/curl curl.c Log: Herr sascha's reccomendation. Index: php4/ext/curl/curl.c diff -u php4/ext/curl/curl.c:1.68 php4/ext/curl/curl.c:1.69 --- php4/ext/curl/curl.c:1.68 Wed Jul 11 14:10:52 2001 +++ php4/ext/curl/curl.c Wed Jul 11 19:03:24 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: curl.c,v 1.68 2001/07/11 18:10:52 sterling Exp $ */ +/* $Id: curl.c,v 1.69 2001/07/11 23:03:24 sterling Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -837,8 +837,7 @@ if (ch->handlers->write->method == PHP_CURL_RETURN) { if (ch->handlers->write->type != PHP_CURL_BINARY) smart_str_0(&ch->handlers->write->buf); - RETVAL_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1); - smart_str_free(&ch->handlers->write->buf); + RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 0); } RETURN_TRUE;

« previous php.cvs (#6194) next »