From 55c1b3d35bbef4b7ec39b051417720839e22a3e3 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Fri, 26 Jul 2002 16:26:55 +0000 Subject: fixed cut & paste typo --- ext/ftp/php_ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/ftp') 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; -- cgit v1.2.1