use roken_*

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3693 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-10-29 01:25:14 +00:00
parent 8cb8048e74
commit f5fc784fff
2 changed files with 4 additions and 4 deletions

View File

@@ -418,7 +418,7 @@ doit (char *hostname, char *remote_user, int port, int argc, char **argv)
cmd_len = construct_command(&cmd, argc, argv);
hostent = gethostbyname (hostname);
hostent = roken_gethostbyname (hostname);
if (hostent == NULL)
errx (1, "gethostbyname '%s' failed: %s",
hostname,
@@ -522,7 +522,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;