From 883c04a08ab3c927219d754de4265c84c20f580d Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 13 Mar 2006 13:42:56 +0000 Subject: Removal of ancient TRUE/FALSE #defines (C-ish stuff) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3700 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index 2868375a5..787e656da 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -76,7 +76,7 @@ InspSocket::InspSocket(const std::string &ahost, int aport, bool listening, unsi } else { - if (BindSocket(this->fd,this->client,this->server,aport,(char*)ahost.c_str()) == ERROR) + if (!BindSocket(this->fd,this->client,this->server,aport,(char*)ahost.c_str())) { this->Close(); this->fd = -1; -- cgit v1.3.1-10-gc9f91