As Roland pointed out on privoxy-devel, explicitly asking
for AF_INET doesn't work reliably on GNU/Linux:
Message-ID: <
20091213201632.GA3217@dinghy.sail.spinnaker.de>
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534735
https://bugs.launchpad.net/ubuntu/+source/privoxy/+bug/427625
-const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.67 2009/09/10 14:53:34 fabiankeil Exp $";
+const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.68 2009/10/04 16:38:26 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $
}
memset(&hints, 0, sizeof(struct addrinfo));
- if ((hostnam == NULL) || !strcmpic(hostnam, "localhost"))
+ if (hostnam == NULL)
{
/*
* XXX: This is a hack. The right thing to do