roken_*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3695 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -82,7 +82,7 @@ common_setup(krb5_context *context, int *argc, char **argv,
|
||||
krb5_errx(*context, 0, "%s", heimdal_version);
|
||||
|
||||
if(port_str){
|
||||
struct servent *s = getservbyname(port_str, "tcp");
|
||||
struct servent *s = roken_getservbyname(port_str, "tcp");
|
||||
if(s)
|
||||
port = s->s_port;
|
||||
else {
|
||||
|
@@ -159,7 +159,7 @@ doit (const char *hostname, int port, const char *service)
|
||||
struct in_addr **h;
|
||||
struct hostent *hostent;
|
||||
|
||||
hostent = gethostbyname (hostname);
|
||||
hostent = roken_gethostbyname (hostname);
|
||||
if (hostent == NULL)
|
||||
errx (1, "gethostbyname '%s' failed: %s",
|
||||
hostname,
|
||||
|
@@ -175,7 +175,7 @@ doit (const char *hostname, int port, const char *service)
|
||||
struct in_addr **h;
|
||||
struct hostent *hostent;
|
||||
|
||||
hostent = gethostbyname (hostname);
|
||||
hostent = roken_gethostbyname (hostname);
|
||||
if (hostent == NULL)
|
||||
errx (1, "gethostbyname '%s' failed: %s",
|
||||
hostname,
|
||||
|
Reference in New Issue
Block a user