dgaudet 98/01/21 14:02:40
Modified: src/modules/proxy proxy_ftp.c
Log:
clean up some warnings. An unused function, and an extra parm to
ap_snprintf().
Revision Changes Path
1.46 +1 -21 apachen/src/modules/proxy/proxy_ftp.c
Index: proxy_ftp.c
===================================================================
RCS file: /export/home/cvs/apachen/src/modules/proxy/proxy_ftp.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- proxy_ftp.c 1998/01/07 16:46:37 1.45
+++ proxy_ftp.c 1998/01/21 22:02:39 1.46
@@ -214,26 +214,6 @@
return status;
}
-static char *
- encode_space(request_rec *r, char *path)
-{
- char *newpath;
- int i, j, len;
-
- len = strlen(path);
- newpath = palloc(r->pool, 3 * len + 1);
- for (i = 0, j = 0; i < len; i++, j++) {
- if (path[i] != ' ')
- newpath[j] = path[i];
- else {
- proxy_c2hex(' ', &newpath[j]);
- j += 2;
- }
- }
- newpath[j] = '\0';
- return newpath;
-}
-
static long int send_dir(BUFF *f, request_rec *r, BUFF *f2, struct cache_req
*c, char *url)
{
char buf[IOBUFSIZE];
@@ -287,7 +267,7 @@
"<BASE HREF=\"%s%s\"></HEAD>\n"
"<BODY><H2>Directory of "
"<A HREF=\"/\">%s</A>/",
- tempurl, psite, path, site, site);
+ tempurl, psite, path, site);
bputs(buf, con->client);
if (f2 != NULL)
bputs(buf, f2);