httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_ftp.c
Date Wed, 30 Jan 2002 09:55:33 GMT
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++)
   	        ;
  
  
  

Mime
View raw message