You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1998/01/30 10:26:45 UTC

cvs commit: apache-1.3/src/modules/proxy proxy_ftp.c

martin      98/01/30 01:26:45

  Modified:    src/modules/proxy proxy_ftp.c
  Log:
  Fixed const mismatch warning (Thanks, Dean)
  
  Revision  Changes    Path
  1.48      +5 -4      apache-1.3/src/modules/proxy/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/proxy/proxy_ftp.c,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -u -r1.47 -r1.48
  --- proxy_ftp.c	1998/01/26 18:24:36	1.47
  +++ proxy_ftp.c	1998/01/30 09:26:44	1.48
  @@ -229,6 +229,7 @@
       int hostlen;
       conn_rec *con = r->connection;
       char *dir, *path, *reldir, *site, *psite;
  +    const char *sig;
   
       tempurl = pstrdup(r->pool, url);
   
  @@ -385,11 +386,11 @@
   	bputs(site, f2);
       total_bytes_sent += strlen(site);
   
  -    site = psignature("", r);
  -    bputs(site, con->client);
  +    sig = psignature("", r);
  +    bputs(sig, con->client);
       if (f2 != NULL)
  -	bputs(site, f2);
  -    total_bytes_sent += strlen(site);
  +	bputs(sig, f2);
  +    total_bytes_sent += strlen(sig);
   
       site = "</BODY></HTML>\n";
       bputs(site, con->client);