freebsd-ports/dns/adsuck/files/patch-log.c
Baptiste Daroussin 5c9c7a01ff adsuck is a DNS relay that returns NXdomain for hosts that match names in a
blacklist for quick and non browser plugin based ad blocking.

WWW: http://opensource.conformal.com/wiki/Adsuck

PR:		ports/156644
Submitted by:	Philippe Pepiot <phil@philpep.org>
2011-05-07 15:13:53 +00:00

5 lines
226 B
C

--- log.c.orig 2009-03-05 00:05:59.000000000 +0100
+++ log.c 2011-04-22 13:41:48.193968412 +0200
@@ -160 +160 @@
- if (getnameinfo(sa, SA_LEN(sa), buf, sizeof(buf), NULL, 0,
+ if (getnameinfo(sa, 0, buf, sizeof(buf), NULL, 0,