use roken_get*

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3692 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-10-29 01:24:45 +00:00
parent 2856b1839a
commit 8cb8048e74

View File

@@ -89,7 +89,7 @@ do_connect (char *host, int port, int nodelay)
char **p;
int s;
h = gethostbyname (host);
h = roken_gethostbyname (host);
if (h == NULL)
errx (1, "gethostbyname: %s", hstrerror(h_errno));
memset (&addr, 0, sizeof(addr));
@@ -550,7 +550,7 @@ main(int argc, char **argv)
usage (1);
if (port_str) {
struct servent *s = getservbyname (port_str, "tcp");
struct servent *s = roken_getservbyname (port_str, "tcp");
if (s)
port = s->s_port;