Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 25390 invoked by uid 500); 30 Jan 2002 09:55:38 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 25379 invoked by uid 500); 30 Jan 2002 09:55:38 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 30 Jan 2002 09:55:33 -0000 Message-ID: <20020130095533.82290.qmail@icarus.apache.org> From: martin@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/proxy proxy_ftp.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N martin 02/01/30 01:55:33 Modified: modules/proxy proxy_ftp.c Log: Oops: wrong variable Revision Changes Path 1.95 +2 -2 httpd-2.0/modules/proxy/proxy_ftp.c Index: proxy_ftp.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_ftp.c,v retrieving revision 1.94 retrieving revision 1.95 diff -u -r1.94 -r1.95 --- proxy_ftp.c 30 Jan 2002 09:47:22 -0000 1.94 +++ proxy_ftp.c 30 Jan 2002 09:55:33 -0000 1.95 @@ -710,7 +710,7 @@ char *user = NULL; /* char *account = NULL; how to supply an account in a URL? */ const char *password = NULL; - int i = 0, len, rc; + int len, rc; int one = 1; char *size = NULL; apr_socket_t *origin_sock = NULL; @@ -1382,7 +1382,7 @@ return ap_proxyerror(r, HTTP_BAD_GATEWAY, "Error reading from remote server"); } - else if (i == 213) {/* Size command ok */ + else if (rc == 213) {/* Size command ok */ int j; for (j = 0; apr_isdigit(ftpmessage[j]); j++) ;