Okay, I swear I've gotten it right this time. I actually don't
know where the '*' came from in my last diff, but here is the
proper one. In the future, I will not hack with a fever.
Mike
383a384,385
> const char *const null_string = "";
>
1657c1659
< sprintf(cbuf, "RETR %s", r->path);
--- > sprintf(cbuf, "RETR /%s", r->path); 2133a2136,2137 > static char tmpbuf[BIGBUFSIZ]; > 2144c2148,2164 < if (r->flags & F_USEBASE) --- > > if (r->flags & F_USEBASE) { > > sprintf(tmpbuf, "%i", r->port); > > if (strcmp(r->user, "anonymous")) { > fprintf(wfp, "<BASE HREF=\"ftp://%s%s%s%s%s%s%s/%s/\">\n", > r->user, > *r->pass ? ":" : null_string, > r->pass, > *r->user ? "@" : null_string, > r->host, > r->port != 21 ? ":" : null_string, > r->port != 21 ? tmpbuf : null_string, > r->path); > } > else { 2145a2166,2168 > } > } >Received on Fri Jan 23 1998 - 13:27:42 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:29 MST