From c00cf85078a3d0ba372dc95d9ca1f54007d10ba5 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Mon, 8 Jul 2013 12:36:11 -0400 Subject: Spelling mistakes fixed. --- testing/DHT_cryptosendfiletest.c | 2 +- testing/DHT_sendfiletest.c | 2 +- testing/DHT_test.c | 2 +- testing/Lossless_UDP_testclient.c | 2 +- testing/Lossless_UDP_testserver.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'testing') diff --git a/testing/DHT_cryptosendfiletest.c b/testing/DHT_cryptosendfiletest.c index 09683a45..ad77a17d 100644 --- a/testing/DHT_cryptosendfiletest.c +++ b/testing/DHT_cryptosendfiletest.c @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) while(1) { - while(recievepacket(&ip_port, data, &length) != -1) + while(receivepacket(&ip_port, data, &length) != -1) { if(rand() % 3 != 1)//simulate packet loss { diff --git a/testing/DHT_sendfiletest.c b/testing/DHT_sendfiletest.c index 9a455056..52ee7400 100644 --- a/testing/DHT_sendfiletest.c +++ b/testing/DHT_sendfiletest.c @@ -85,7 +85,7 @@ int main(int argc, char *argv[]) while(1) { - while(recievepacket(&ip_port, data, &length) != -1) + while(receivepacket(&ip_port, data, &length) != -1) { if(rand() % 3 != 1)//simulate packet loss { diff --git a/testing/DHT_test.c b/testing/DHT_test.c index 25bf869e..38ca4992 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c @@ -133,7 +133,7 @@ int main(int argc, char *argv[]) doDHT(); - while(recievepacket(&ip_port, data, &length) != -1) + while(receivepacket(&ip_port, data, &length) != -1) { if(DHT_handlepacket(data, length, ip_port)) { diff --git a/testing/Lossless_UDP_testclient.c b/testing/Lossless_UDP_testclient.c index 79ae4a37..cc12206b 100644 --- a/testing/Lossless_UDP_testclient.c +++ b/testing/Lossless_UDP_testclient.c @@ -106,7 +106,7 @@ void Lossless_UDP() IP_Port ip_port; char data[MAX_UDP_PACKET_SIZE]; uint32_t length; - while(recievepacket(&ip_port, data, &length) != -1) + while(receivepacket(&ip_port, data, &length) != -1) { printf("packet with length: %u\n", length); if(rand() % 3 != 1)//add packet loss 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() IP_Port ip_port; char data[MAX_UDP_PACKET_SIZE]; uint32_t length; - while(recievepacket(&ip_port, data, &length) != -1) + while(receivepacket(&ip_port, data, &length) != -1) { if(rand() % 3 != 1)//add packet loss { -- cgit v1.2.3