diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-28 00:25:40 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-28 00:25:40 +0000 |
commit | f61e10f2120424d87894b653cfefe25858551ff0 (patch) | |
tree | ce90731f586dbb83071c2381455c41be7fb50fe3 /src | |
parent | 940e2b7ec34486e6ce46e978057bfe3f14c5f3c3 (diff) |
Transposed strcmp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1229 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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++) |