diff src/dnsbl.cpp @ 248:b0738685bf51

latest tld list; fix uninitialized variable
author Carl Byington <carl@five-ten-sg.com>
date Fri, 06 Jan 2012 22:07:45 -0800
parents 8b0f16abee53
children 15bf4f68a0b2
line wrap: on
line diff
--- a/src/dnsbl.cpp	Fri Sep 30 15:38:19 2011 -0700
+++ b/src/dnsbl.cpp	Fri Jan 06 22:07:45 2012 -0800
@@ -111,7 +111,7 @@
 const 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
 const char *dccifd_port              = NULL;        // unix domain socket to talk to the dcc interface daemon
-time_t      last_error_time;
+time_t      last_error_time     = 0;
 int         resolver_sock_count = 0;        // protected with fd_pool_mutex
 int         resolver_pool_size  = 0;        // protected with fd_pool_mutex
 rcpt_rates  rcpt_counts;                    // protected with rate_mutex