X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=dns.c;h=fc5213f1ca605600baa07ebcc9b0281671b133fd;hb=ca32b516bc59085049d862042b44e11803867697;hp=ce80745730e91d2bc728ed068bfdc30ffa87dcc7;hpb=ca95b915c5db208af77826f0875313bef895993f;p=people%2Fms%2Fdma.git diff --git a/dns.c b/dns.c index ce80745..fc5213f 100644 --- a/dns.c +++ b/dns.c @@ -66,12 +66,9 @@ add_host(int pref, const char *host, int port, struct mx_hostentry **he, size_t struct addrinfo hints, *res, *res0 = NULL; char servname[10]; struct mx_hostentry *p; - size_t onhosts; const int count_inc = 10; int err; - onhosts = *ps; - memset(&hints, 0, sizeof(hints)); hints.ai_family = PF_UNSPEC; hints.ai_socktype = SOCK_STREAM;