Fix some stupid bug which even GCC found and warned on

Yeah, I *really* feel stupid for letting something like this slip :(


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1024 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-04-17 15:52:55 +00:00
parent 5f293039b5
commit 011ddfe499
+1 -1
View File
@@ -927,7 +927,7 @@ void CIRCSock::SockError(int iErrno) {
if (iErrno == EDOM) {
sError = "Your VHost could not be resolved";
} else if (iErrno = EADDRNOTAVAIL) {
} else if (iErrno == EADDRNOTAVAIL) {
// Csocket uses this if it can't resolve the dest host name
sError = strerror(iErrno);
sError += " (Is your IRC server's host name valid?)";