diff src/dnsbl.cpp @ 132:ae9daf43d8eb

uribl lookups fully qualified; allow two component host names
author carl
date Tue, 01 Aug 2006 10:58:01 -0700
parents df355d117199
children f9917ce924a3
line wrap: on
line diff
--- a/src/dnsbl.cpp	Tue Aug 01 10:44:55 2006 -0700
+++ b/src/dnsbl.cpp	Tue Aug 01 10:58:01 2006 -0700
@@ -88,7 +88,7 @@
 pthread_mutex_t  fd_pool_mutex;
 
 std::set<int>	 fd_pool;
-const int	 NULL_SOCKET	   = -1;
+int    NULL_SOCKET			   = -1;
 const time_t ERROR_SOCKET_TIME = 60;			// number of seconds between attempts to open a socket to the dns resolver process
 char  *resolver_port		   = NULL;			// unix domain socket to talk to the dns resolver process
 int    resolver_socket		   = NULL_SOCKET;	// socket used to listen for resolver requests