diff options
| author | 2004-04-11 16:49:08 +0000 | |
|---|---|---|
| committer | 2004-04-11 16:49:08 +0000 | |
| commit | 1faeb26ca4bfb1b99ae314861d41c7424f58b64b (patch) | |
| tree | 64aec1b3044a0879248f81d27c38a4c485619d0d /src/connection.cpp | |
| parent | grr :p (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.cpp | 2 |
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) { |
