mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
zero is a valid fd
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@605 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -1191,7 +1191,7 @@ CS_STRING Csock::GetRemoteIP()
|
||||
|
||||
int iSock = GetSock();
|
||||
|
||||
if ( iSock <= 0 )
|
||||
if ( iSock < 0 )
|
||||
{
|
||||
std::cerr << "What the hell is wrong with my fd!?" << endl;
|
||||
return( "" );
|
||||
|
||||
Reference in New Issue
Block a user