From 77d81c3d575a1bc83e03353cb41eac350952f112 Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 11 Nov 2006 20:38:37 +0000 Subject: fix a compile warning git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5698 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.cpp b/src/socket.cpp index 3c446c45b..284e51a4a 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -411,7 +411,7 @@ int InspIRCd::BindPorts(bool bail, int &ports_found) { irc::portparser portrange(configToken, false); long portno = -1; - while (portno = portrange.GetToken()) + while ((portno = portrange.GetToken())) { if (!HasPort(portno, Addr)) { -- cgit v1.2.3