Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Zaman committed Mar 25, 2014
1 parent cc3cbc7 commit dd3b2ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion recive.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ int64_t nano_count()
cout<<"clock_gettime failed"<<endl;
return t.tv_sec * 1000000000 + t.tv_nsec;
}
int main(int argc char *argv ){
int main(int argc, char *argv ){

int my_port = atoi(argv[0]);

Expand Down
2 changes: 1 addition & 1 deletion send.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ int64_t nano_count()
return t.tv_sec * 1000000000 + t.tv_nsec;
}

int main(int argc char *argv ){
int main(int argc, char *argv ){

char* host_addr = argv[2];
int host_port = atoi(argv[0]);
Expand Down
2 changes: 1 addition & 1 deletion sendforeward.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ int64_t nano_count()
return t.tv_sec * 1000000000 + t.tv_nsec;
}

int main(){
int main(int argc, char *argv ){

char* host_addr = argv[1];
int host_port = atoi(argv[0]);
Expand Down

0 comments on commit dd3b2ea

Please sign in to comment.