svn commit: r309051 - head/lib/libfetch

Dag-Erling Smørgrav des at FreeBSD.org
Wed Nov 23 10:52:20 UTC 2016


Author: des
Date: Wed Nov 23 10:52:19 2016
New Revision: 309051
URL: https://svnweb.freebsd.org/changeset/base/309051

Log:
  Remove debugging code.

Modified:
  head/lib/libfetch/common.c

Modified: head/lib/libfetch/common.c
==============================================================================
--- head/lib/libfetch/common.c	Wed Nov 23 10:11:15 2016	(r309050)
+++ head/lib/libfetch/common.c	Wed Nov 23 10:52:19 2016	(r309051)
@@ -283,18 +283,14 @@ fetch_resolve(const char *addr, int port
 	}
 
 	/* resolve */
-	fetch_info("resolving host = %s service = %s af = %d",
-	    host, service, af);
 	memset(&hints, 0, sizeof(hints));
 	hints.ai_family = af;
 	hints.ai_socktype = SOCK_STREAM;
 	hints.ai_flags = AI_ADDRCONFIG;
 	if ((err = getaddrinfo(host, service, &hints, &res)) != 0) {
 		netdb_seterr(err);
-		fetch_info("getaddrinfo() failed: %s", gai_strerror(err));
 		return (NULL);
 	}
-	fetch_info("getaddrinfo() succeeded %p", res);
 	return (res);
 }
 


More information about the svn-src-head mailing list