From a96ee0abfa2080f7d1b9d586e4303410fe8fbb44 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 22 Jul 2013 19:55:10 +0000 Subject: [PATCH] cListenThread initializes m_ShouldReuseAddr to false (valgrind error) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1677 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/OSSupport/ListenThread.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/OSSupport/ListenThread.cpp b/source/OSSupport/ListenThread.cpp index 70c1159a..89aa6ea7 100644 --- a/source/OSSupport/ListenThread.cpp +++ b/source/OSSupport/ListenThread.cpp @@ -14,6 +14,7 @@ cListenThread::cListenThread(cCallback & a_Callback, cSocket::eFamily a_Family, super(Printf("ListenThread %s", a_ServiceName.c_str())), m_Callback(a_Callback), m_Family(a_Family), + m_ShouldReuseAddr(false), m_ServiceName(a_ServiceName) { }