summaryrefslogtreecommitdiff
path: root/src/cmd_whois.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-02 17:38:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-02 17:38:04 +0000
commitb145f922e0571dee3690b6886e59bc6ce7f1fb15 (patch)
tree5c3ce105e763c33e4f82b667462f3fedd8c07d93 /src/cmd_whois.cpp
parentcb16da88946f7f75a438b471734fa22c33f94461 (diff)
When socket fails to construct, we now check the GetState() of the socket object to detect this condition.
If we dont, we can end up leaking fd's and RAM on failure. We dont use exceptions here as these operations can occur very often. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3021 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_whois.cpp')
0 files changed, 0 insertions, 0 deletions