diff options
Diffstat (limited to 'testing/DHT_cryptosendfiletest.c')
-rw-r--r-- | testing/DHT_cryptosendfiletest.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[]) | |||
131 | while(1) | 131 | while(1) |
132 | { | 132 | { |
133 | 133 | ||
134 | while(recievepacket(&ip_port, data, &length) != -1) | 134 | while(receivepacket(&ip_port, data, &length) != -1) |
135 | { | 135 | { |
136 | if(rand() % 3 != 1)//simulate packet loss | 136 | if(rand() % 3 != 1)//simulate packet loss |
137 | { | 137 | { |