r5124 - trunk/varnish-cache/lib/libvarnish
phk at varnish-cache.org
phk at varnish-cache.org
Wed Aug 25 10:52:44 CEST 2010
Author: phk
Date: 2010-08-25 10:52:44 +0200 (Wed, 25 Aug 2010)
New Revision: 5124
Modified:
trunk/varnish-cache/lib/libvarnish/tcp.c
Log:
An XXX comment
Modified: trunk/varnish-cache/lib/libvarnish/tcp.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/tcp.c 2010-08-25 08:49:27 UTC (rev 5123)
+++ trunk/varnish-cache/lib/libvarnish/tcp.c 2010-08-25 08:52:44 UTC (rev 5124)
@@ -72,6 +72,10 @@
i = getnameinfo(addr, l, abuf, alen, pbuf, plen,
NI_NUMERICHOST | NI_NUMERICSERV);
if (i) {
+ /*
+ * XXX this printf is shitty, but we may not have space
+ * for the gai_strerror in the bufffer :-(
+ */
printf("getnameinfo = %d %s\n", i, gai_strerror(i));
strlcpy(abuf, "Conversion", alen);
strlcpy(pbuf, "Failed", plen);
More information about the varnish-commit
mailing list