Return to fetch.c CVS log | Up to [local] / src / usr.bin / ftp |
version 1.15, 1997/09/04 04:37:15 | version 1.16, 1997/09/11 01:55:15 | ||
---|---|---|---|
|
|
||
portnum = strchr(host, ':'); | portnum = strchr(host, ':'); | ||
if (portnum != NULL) | if (portnum != NULL) | ||
*portnum++ = '\0'; | *portnum++ = '\0'; | ||
parsed_url: | |||
} else { /* classic style `host:file' */ | } else { /* classic style `host:file' */ | ||
dir = strchr(host, ':'); | dir = strchr(host, ':'); | ||
} | } | ||
parsed_url: | |||
if (EMPTYSTRING(host)) { | if (EMPTYSTRING(host)) { | ||
rval = argpos + 1; | rval = argpos + 1; | ||
continue; | continue; |