summaryrefslogtreecommitdiff
path: root/testing/DHT_sendfiletest.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/DHT_sendfiletest.c')
-rw-r--r--testing/DHT_sendfiletest.c2
1 files changed, 1 insertions, 1 deletions
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[])
85 while(1) 85 while(1)
86 { 86 {
87 87
88 while(recievepacket(&ip_port, data, &length) != -1) 88 while(receivepacket(&ip_port, data, &length) != -1)
89 { 89 {
90 if(rand() % 3 != 1)//simulate packet loss 90 if(rand() % 3 != 1)//simulate packet loss
91 { 91 {