summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-18 20:21:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-18 20:21:31 +0000
commitdc3f12a74be6df2065e4aef1db7bdc8a510ffd62 (patch)
tree2d479024dabbd4da3e9c261ec1c7615b9f2ac98e /src/socket.cpp
parent67c9b1ba8404a3c7c7c1b223c188d56a3ae7d9e1 (diff)
Remove _CrtCheckMemory()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9535 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 1341716f8..465f8cc73 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -337,7 +337,6 @@ bool irc::sockets::MatchCIDR(const char* address, const char* cidr_mask, bool ma
*/
bool InspIRCd::BindSocket(int sockfd, int port, const char* addr, bool dolisten)
{
- _CrtCheckMemory();
/* We allocate 2 of these, because sockaddr_in6 is larger than sockaddr (ugh, hax) */
sockaddr* servaddr = new sockaddr[2];
memset(servaddr,0,sizeof(sockaddr)*2);