diff options
Diffstat (limited to 'testing/Lossless_UDP_testserver.c')
-rw-r--r-- | testing/Lossless_UDP_testserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/Lossless_UDP_testserver.c b/testing/Lossless_UDP_testserver.c index 8357c2ef..2e369b30 100644 --- a/testing/Lossless_UDP_testserver.c +++ b/testing/Lossless_UDP_testserver.c | |||
@@ -102,7 +102,7 @@ void Lossless_UDP() | |||
102 | IP_Port ip_port; | 102 | IP_Port ip_port; |
103 | char data[MAX_UDP_PACKET_SIZE]; | 103 | char data[MAX_UDP_PACKET_SIZE]; |
104 | uint32_t length; | 104 | uint32_t length; |
105 | while(recievepacket(&ip_port, data, &length) != -1) | 105 | while(receivepacket(&ip_port, data, &length) != -1) |
106 | { | 106 | { |
107 | if(rand() % 3 != 1)//add packet loss | 107 | if(rand() % 3 != 1)//add packet loss |
108 | { | 108 | { |