diff options
author | Adam <Adam@anope.org> | 2010-09-17 19:20:07 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-17 19:20:07 -0400 |
commit | 227909e2cf0039737dc52872651837fe5f1702b5 (patch) | |
tree | b8a7072c7d938ea66d9710a48d717b3eb76343de /src/config.cpp | |
parent | f71fb6e8133da955a58b1cca00013ce20c0b65cc (diff) |
Rejig of some of the socket stuff. Fixed marking sockets as nonblocking on Windows. Added in a LastError function to keep having to use strerror/GetLastError everywhere.
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp index ac1f00295..69dc27f9b 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -404,7 +404,7 @@ void ServerConfig::ValidateNoSpaces(const Anope::string &p, const Anope::string } /* NOTE: Before anyone asks why we're not using inet_pton for this, it is because inet_pton and friends do not return so much detail, - * even in strerror(errno). They just return 'yes' or 'no' to an address without such detail as to whats WRONG with the address. + * even in LastError(). They just return 'yes' or 'no' to an address without such detail as to whats WRONG with the address. * Because ircd users arent as technical as they used to be (;)) we are going to give more of a useful error message. */ void ServerConfig::ValidateIP(const Anope::string &p, const Anope::string &tag, const Anope::string &val, bool wild) const |