diff --git a/recive.c b/recive.c index 0ab74c9..86ee4d7 100755 --- a/recive.c +++ b/recive.c @@ -48,7 +48,7 @@ int main(){ return 0; } - int64_t time_start = nano_count(); + int64_t time_start; for(int i=0;;i++){ if(i==0) time_start = nano_count(); diff --git a/sendforeward.c b/sendforeward.c index a642721..f99fb3e 100755 --- a/sendforeward.c +++ b/sendforeward.c @@ -68,7 +68,7 @@ int main(){ } memcpy((void *)&servaddr.sin_addr, hp->h_addr_list[0], hp->h_length); - int64_t time_start = nano_count(); + int64_t time_start; int64_t time_end; for(int i=0;i