diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-01 10:15:04 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-01 10:15:04 -0400 |
commit | 65a198ffa56503ccd593f46a035f4a2b8f28f8ff (patch) | |
tree | 659e7b0a8ca5fc5c00726f32caacb1ada932374b /core | |
parent | 7c40150c59ee1e287b22abc89e04dfd8ece8a561 (diff) |
Fixed small bug. Updated TODO.
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 | } |