summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 16:49:08 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 16:49:08 +0000
commit1faeb26ca4bfb1b99ae314861d41c7424f58b64b (patch)
tree64aec1b3044a0879248f81d27c38a4c485619d0d /src/connection.cpp
parentfd3eae68b54c5d466f5cbcc984ba1a80ae302bbf (diff)
Fixes to packet acks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@533 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 5b593667b..2926ce754 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -160,7 +160,7 @@ bool connection::SendPacket(char *message, char* host, int port, long ourkey)
int res = select(65535, &sfd, NULL, NULL, &tval);
cycles++;
}
- while ((recvfrom(fd,&p2,sizeof(p2),0,(sockaddr*)&host_address,&host_address_size)<0) && (cycles < 10))
+ while ((recvfrom(fd,&p2,sizeof(p2),0,(sockaddr*)&host_address,&host_address_size)<0) && (cycles < 10));
if (cycles >= 10)
{