Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 11/02/1999 18:03:10
Module Name: basesrc
Committed By: lukem
Date: Wed Nov 3 02:03:09 UTC 1999
Modified Files:
basesrc/usr.bin/ftp: ftp.c
Log Message:
hookup(): when using getservbyname() (when getaddrinfo() isn't available), if
the provided port is a valid number use that rather than trying to do
getservbyname() against it.
fixes a problem on foreign systems noted by Chuck Silvers <chuq@chuq.com>
To generate a diff of this commit:
cvs rdiff -r1.85 -r1.86 basesrc/usr.bin/ftp/ftp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.