* locate_kdc.c: krb5_locate_srv_dns()
Ensure that res_search() is called with a query string
that is terminated by a '.' in order to disable the
expansion of dns-search lists.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12642
dc483132-0cff-0310-8789-
dd5450dbe970
HEADER hdr;
} answer;
unsigned char *p=NULL;
- char host[MAX_DNS_NAMELEN];
+ char host[MAX_DNS_NAMELEN], *h;
struct sockaddr *addr = NULL;
struct sockaddr_in *sin = NULL;
struct hostent *hp = NULL;
int priority;
int weight;
unsigned short port;
- char *host, *h;
+ char *host;
};
struct srv_dns_entry *head = NULL;