From: Ilia Alshanetsky Date: Fri, 6 Dec 2002 06:07:40 +0000 (+0000) Subject: Fixed bug #20812, ftp_get returned NULL on success instead of TRUE. X-Git-Tag: RELEASE_1_0b3~145 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33de9befa157b31ac39a47ca85c9844c6892cf0a;p=php Fixed bug #20812, ftp_get returned NULL on success instead of TRUE. --- diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index 7acff3e71a..9e4878f148 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -624,6 +624,7 @@ PHP_FUNCTION(ftp_get) } php_stream_close(outstream); + RETURN_TRUE; } /* }}} */