From 33de9befa157b31ac39a47ca85c9844c6892cf0a Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 6 Dec 2002 06:07:40 +0000 Subject: Fixed bug #20812, ftp_get returned NULL on success instead of TRUE. --- ext/ftp/php_ftp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/ftp/php_ftp.c') 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; } /* }}} */ -- cgit v1.2.1