X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fgetaddrinfo.c;h=4595cc47a041a4ac6f3e1a1775b9edfc866b785e;hb=a2df84f2250bbe1dc2ac610687e784c73b10e8e9;hp=4216ab54737fc30c0456a865fb3f2095772f2af6;hpb=ea13549eb4841d47952d7cd79295bfd8a1ad5ea5;p=pazpar2-moved-to-github.git diff --git a/src/getaddrinfo.c b/src/getaddrinfo.c index 4216ab5..4595cc4 100644 --- a/src/getaddrinfo.c +++ b/src/getaddrinfo.c @@ -1,4 +1,4 @@ -/* $Id: getaddrinfo.c,v 1.2 2007-04-22 16:41:42 adam Exp $ +/* $Id: getaddrinfo.c,v 1.3 2007-04-23 07:34:48 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -86,7 +86,7 @@ void perform_getaddrinfo(struct work *w) addrbuf[0], addrbuf[1], addrbuf[2], addrbuf[3], port); freeaddrinfo(addrinfo); w->ipport = xstrdup(ipport); - yaz_log(log_level, "%s -> %s", hostport, ipport); + yaz_log(log_level, "Resolved %s -> %s", hostport, ipport); } xfree(hostport); } @@ -111,10 +111,6 @@ void iochan_handler(struct iochan *i, int event) if (event & EVENT_INPUT) { struct work *w = sel_thread_result(p); - if (w->ipport) - yaz_log(log_level, "resolved result %s", w->ipport); - else - yaz_log(log_level, "unresolved result"); w->host->ipport = w->ipport; connect_resolver_host(w->host); xfree(w);