diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1997-02-07 17:55:01 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1997-02-07 17:55:01 +0000 |
| commit | df6c4acc3c18ce8e70c042380c81bc14afd707a2 (patch) | |
| tree | 2b9ea236e85635f31fd1c5964fdeb65216fd83b4 /usr.bin | |
| parent | 125e9dcf6c2f42594a12e1e9559bfed9b6362460 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/fetch/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/fetch/util.c b/usr.bin/fetch/util.c index b7d4b2167a17..698866e968cc 100644 --- a/usr.bin/fetch/util.c +++ b/usr.bin/fetch/util.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: util.c,v 1.2 1997/02/02 09:16:37 bde Exp $ + * $Id: util.c,v 1.3 1997/02/05 19:59:18 wollman Exp $ */ #include <sys/types.h> @@ -163,7 +163,6 @@ parse_host_port(const char *s, char **hostname, int *port) colon = strchr(s, ':'); if (colon != 0) { - colon++; errno = 0; ul = strtoul(colon + 1, &ep, 10); if (*ep != '\0' || colon[1] == '\0' || errno != 0 |
