Gets correct error message.
This commit is contained in:
parent
5a1a3d1fcb
commit
116e9e60c5
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ int client()
|
|||
}
|
||||
|
||||
if (send(SOCKFD, buf, strlen(buf)+1, 0) == -1) {
|
||||
perror("recv");
|
||||
perror("send");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue