From 1faeb26ca4bfb1b99ae314861d41c7424f58b64b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Apr 2004 16:49:08 +0000 Subject: Fixes to packet acks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@533 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3