From f61e10f2120424d87894b653cfefe25858551ff0 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 28 Apr 2005 00:25:40 +0000 Subject: Transposed strcmp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1229 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/connection.cpp b/src/connection.cpp index 364c0f2a3..ec2d3c507 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -410,9 +410,9 @@ bool connection::SendPacket(char *message, const char* sendhost) if (cn->GetState() == STATE_DISCONNECTED) { - log(DEBUG,"Main route to %s is down, seeking alternative",host); + log(DEBUG,"Main route to %s is down, seeking alternative",sendhost); // fix: can only route one hop to avoid a loop - if (!strncmp(message,"R ",2)) + if (strncmp(message,"R ",2)) { // this route is down, we must re-route the packet through an available point in the mesh. for (int k = 0; k < this->connectors.size(); k++) -- cgit v1.2.3