change client help message
This commit is contained in:
parent
50eb6f4cf7
commit
6d6b446640
2
client.c
2
client.c
@ -133,7 +133,7 @@ int main(int argc, const char *argv[]){
|
||||
in_port_t server_port;
|
||||
int sock, err;
|
||||
if (argc != 4){
|
||||
fprintf(stderr,"invaild arguments number.");
|
||||
fprintf(stderr,"USAUE: %s SERVERNAME PORT FILENAME\n",argv[0]);
|
||||
return 1;
|
||||
}
|
||||
server_name = argv[1];
|
||||
|
@ -135,7 +135,7 @@ int main(int argc, const char *argv[]){
|
||||
in_port_t server_port = 0;
|
||||
int sock, err;
|
||||
if (argc != 4){
|
||||
fprintf(stderr,"invaild arguments number.");
|
||||
fprintf(stderr,"USAUE: %s SERVERNAME PORT FILENAME\n",argv[0]);
|
||||
return 1;
|
||||
}
|
||||
server_name = argv[1];
|
||||
|
Loading…
Reference in New Issue
Block a user