diff --git a/netcalc.c b/netcalc.c index 344055c..9f21e07 100644 --- a/netcalc.c +++ b/netcalc.c @@ -255,7 +255,7 @@ int client() } if (send(SOCKFD, buf, strlen(buf)+1, 0) == -1) { - perror("recv"); + perror("send"); continue; }