diff options
author | Stefan Esser <sesser@php.net> | 2002-07-26 16:26:55 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2002-07-26 16:26:55 +0000 |
commit | 55c1b3d35bbef4b7ec39b051417720839e22a3e3 (patch) | |
tree | 29fa4d9793da126fb1b0b348e51aa8b0937d7719 /ext/ftp | |
parent | 9f3f61364234920158e60323c4c4eafeaea1cb98 (diff) | |
download | php-git-55c1b3d35bbef4b7ec39b051417720839e22a3e3.tar.gz |
fixed cut & paste typo
Diffstat (limited to 'ext/ftp')
-rw-r--r-- | ext/ftp/php_ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index 1abe545231..cc51a84ffe 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -516,7 +516,7 @@ PHP_FUNCTION(ftp_get) RETURN_FALSE; } - if (!ftp_get(ftp, outstream, remote, xtype, resumepos) || php_stream_error(tmpstream)) { + if (!ftp_get(ftp, outstream, remote, xtype, resumepos) || php_stream_error(outstream)) { php_stream_close(outstream); php_error(E_WARNING, "%s(): %s", get_active_function_name(TSRMLS_C), ftp->inbuf); RETURN_FALSE; |