From ded5711d0579e02513aff2171b570cdcd43eda97 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 6 Feb 2006 23:47:02 +0000 Subject: Force initialize host to "" just in case it isnt (it should be however, as its constructor is called, but we know what ass-u-me did) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3115 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dnsqueue.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index 7dcc78e83..c117ad4cb 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -71,11 +71,13 @@ public: Lookup() { *u = 0; + hostname = ""; } void Reset() { *u = 0; + hostname = ""; } ~Lookup() -- cgit v1.2.3