From 2856b1839a31501bdf9fab7762d831efbbd70431 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 29 Oct 1997 01:22:56 +0000 Subject: [PATCH] use roken_getservbyname git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3691 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/popper/pop_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appl/popper/pop_debug.c b/appl/popper/pop_debug.c index 0f1a4074e..ad98dc63e 100644 --- a/appl/popper/pop_debug.c +++ b/appl/popper/pop_debug.c @@ -74,7 +74,7 @@ get_socket (char *host, int port) struct hostent *hp; int s; - hp = gethostbyname(host); + hp = roken_gethostbyname(host); if(hp == NULL) err(1, "%s", host); s = socket(AF_INET, SOCK_STREAM, 0); @@ -233,7 +233,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;