diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Lossless_UDP.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/Lossless_UDP.c b/core/Lossless_UDP.c index d40b2851..9af097d3 100644 --- a/core/Lossless_UDP.c +++ b/core/Lossless_UDP.c | |||
@@ -310,8 +310,7 @@ uint32_t missing_packets(int connection_id, uint32_t * requested) | |||
310 | uint32_t number = 0; | 310 | uint32_t number = 0; |
311 | uint32_t i; | 311 | uint32_t i; |
312 | uint32_t temp; | 312 | uint32_t temp; |
313 | 313 | if(recvqueue(connection_id) >= (BUFFER_PACKET_NUM - 1))//don't request packets if the buffer is full. | |
314 | if(recvqueue(connection_id) >= BUFFER_PACKET_NUM)//don't request packets if the buffer is full. | ||
315 | { | 314 | { |
316 | return 0; | 315 | return 0; |
317 | } | 316 | } |