summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/Lossless_UDP.c3
-rw-r--r--docs/TODO.txt8
2 files changed, 7 insertions, 4 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 }
diff --git a/docs/TODO.txt b/docs/TODO.txt
index 97c41423..b1174cd8 100644
--- a/docs/TODO.txt
+++ b/docs/TODO.txt
@@ -1,6 +1,10 @@
1Things to do now: 1Things to do now:
2 2
3-Network protocol for clients when they know their ips. 3-Network protocol (Done)
4
5-Figure out the best way to do "lossless" UDP. (Done)
6
7-Start work on the im protocol.
4 8
5-Start coding the gui 9-Start coding the gui
6 10
@@ -11,7 +15,7 @@ Things to do now:
11 It looks pretty good so far 15 It looks pretty good so far
12 It's licenced under the WTFPL which is perfect. 16 It's licenced under the WTFPL which is perfect.
13 17
14-Figure out the best way to do "lossless" UDP. 18-Find and fix bugs in the code.
15 19
16Things to do later: 20Things to do later:
17 21