httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_ftp.c
Date Sat, 03 Jul 2004 12:25:11 GMT
trawick     2004/07/03 05:25:11

  Modified:    modules/proxy proxy_ftp.c
  Log:
  style fix only
  (previously committed from user-supplied patch)
  
  Revision  Changes    Path
  1.144     +4 -3      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.143
  retrieving revision 1.144
  diff -u -r1.143 -r1.144
  --- proxy_ftp.c	21 May 2004 22:05:31 -0000	1.143
  +++ proxy_ftp.c	3 Jul 2004 12:25:11 -0000	1.144
  @@ -810,7 +810,7 @@
           return HTTP_NOT_IMPLEMENTED;
   
       /* We break the URL into host, port, path-search */
  -    if(r->parsed_uri.hostname==NULL){
  +    if (r->parsed_uri.hostname == NULL) {
           if (APR_SUCCESS != apr_uri_parse(p, url, &uri)) {
               return ap_proxyerror(r, HTTP_BAD_REQUEST,
                   apr_psprintf(p, "URI cannot be parsed: %s", url));
  @@ -818,12 +818,13 @@
           connectname = uri.hostname;
           connectport = uri.port;
           path = apr_pstrdup(p, uri.path);
  -    } else {
  +    }
  +    else {
           connectname = r->parsed_uri.hostname;
           connectport = r->parsed_uri.port;
           path = apr_pstrdup(p, r->parsed_uri.path);
       }
  -    if (connectport==0) {
  +    if (connectport == 0) {
           connectport = apr_uri_port_of_scheme("ftp");
       }
       path = (path != NULL && path[0] != '\0') ? &path[1] : "";
  
  
  

Mime
View raw message