diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-11 17:38:34 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-11 17:38:34 +0000 |
commit | a485686bcd493e184aef35efde3b276ec933aec9 (patch) | |
tree | e65b15acd421b639be895837d594772055ba835e /src/connection.cpp | |
parent | 0bf762ee3898a853066adecf1cc85a71b077591d (diff) |
More fixes :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@539 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 574139e1a..6e82bed9b 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -177,12 +177,14 @@ bool connection::SendPacket(char *message, char* host, int port, long ourkey) if (p2.id != p.id) { + recvfrom(fd,&p2,sizeof(p2),0,(sockaddr*)&host_address,&host_address_size); log(DEFAULT,"ERROR! connection::SendPacket() received an ack for a packet it didnt send!"); this->state = STATE_CLEAR; return false; } else { + recvfrom(fd,&p2,sizeof(p2),0,(sockaddr*)&host_address,&host_address_size); log(DEFAULT,"Successfully received ACK"); this->state = STATE_CLEAR; return true; |