summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-07-01 10:55:39 -0400
committerirungentoo <irungentoo@gmail.com>2013-07-01 10:55:39 -0400
commit62839f1bd95b2dfc43cffd7dfa8b1326cc87ef8b (patch)
tree314a15af94243b2f8383c2c055216013c8306b43 /core
parent65a198ffa56503ccd593f46a035f4a2b8f28f8ff (diff)
Small changes.
Diffstat (limited to 'core')
-rw-r--r--core/Lossless_UDP.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/Lossless_UDP.c b/core/Lossless_UDP.c
index 9af097d3..bf9fa893 100644
--- a/core/Lossless_UDP.c
+++ b/core/Lossless_UDP.c
@@ -563,17 +563,15 @@ int handle_SYNC(char * packet, uint32_t length, IP_Port source)
563 } 563 }
564 if(connection == -1) 564 if(connection == -1)
565 { 565 {
566 handle_SYNC1(source, recv_packetnum, sent_packetnum); 566 return handle_SYNC1(source, recv_packetnum, sent_packetnum);
567 return 0;
568 } 567 }
569 if(connections[connection].status == 2) 568 if(connections[connection].status == 2)
570 { 569 {
571 handle_SYNC2(connection, counter, recv_packetnum, sent_packetnum); 570 return handle_SYNC2(connection, counter, recv_packetnum, sent_packetnum);
572 return 0;
573 } 571 }
574 if(connections[connection].status == 3) 572 if(connections[connection].status == 3)
575 { 573 {
576 handle_SYNC3(connection, counter, recv_packetnum, sent_packetnum, req_packets, number); 574 return handle_SYNC3(connection, counter, recv_packetnum, sent_packetnum, req_packets, number);
577 } 575 }
578 return 0; 576 return 0;
579} 577}