diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-12-06 06:07:40 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-12-06 06:07:40 +0000 |
commit | 33de9befa157b31ac39a47ca85c9844c6892cf0a (patch) | |
tree | 8204b05f7482551181380c8488777841b68d752e /ext/ftp/php_ftp.c | |
parent | dda7acaad558d5faa76dfcd7b3a97048c091c8b8 (diff) | |
download | php-git-33de9befa157b31ac39a47ca85c9844c6892cf0a.tar.gz |
Fixed bug #20812, ftp_get returned NULL on success instead of TRUE.
Diffstat (limited to 'ext/ftp/php_ftp.c')
-rw-r--r-- | ext/ftp/php_ftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } /* }}} */ |