mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
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:
+1
-1
@@ -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?)";
|
||||
|
||||
Reference in New Issue
Block a user