Killed some old code

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@578 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-06-11 02:57:12 +00:00
parent b27960518a
commit f43fc1d59f

View File

@@ -165,21 +165,10 @@ pop_init(POP *p,int argcount,char **argmessage)
/* Save the cannonical name of the client host in
the POP parameter block */
else {
#ifndef BIND43
p->client = ch->h_name;
#else
# include <arpa/nameser.h>
# include <resolv.h>
/* Distrust distant nameservers */
extern struct state _res;
struct hostent * ch_again;
char * * addrp;
/* We already have a fully-qualified name */
_res.options &= ~RES_DEFNAMES;
/* See if the name obtained for the client's IP
address returns an address */
if ((ch_again = gethostbyname(ch->h_name)) == NULL) {
@@ -207,7 +196,6 @@ pop_init(POP *p,int argcount,char **argmessage)
p->client = p->ipaddr;
}
}
#endif /* BIND43 */
}
/* Create input file stream for TCP/IP communication */