diff options
| author | 2007-01-30 20:32:59 +0000 | |
|---|---|---|
| committer | 2007-01-30 20:32:59 +0000 | |
| commit | 706303e177d05afa6269d3a40cfde726854c52c3 (patch) | |
| tree | 2ec930b1d7593c0e6a8da60d83ab39ab129ae515 /src/socket.cpp | |
| parent | Add strerror(errno) to port bind failure on TreeSocket (diff) | |
| download | inspircd++-706303e177d05afa6269d3a40cfde726854c52c3.tar.gz inspircd++-706303e177d05afa6269d3a40cfde726854c52c3.tar.bz2 inspircd++-706303e177d05afa6269d3a40cfde726854c52c3.zip | |
Whoops, fix inspsocket so that its ok to use errno after a failure of the Write/Read methods or constructor!
the close() in its Close method always changed errno to "Endpoint is not connected" on error, so now we make a copy.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6462 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socket.cpp')
0 files changed, 0 insertions, 0 deletions
