fix: correct typos and improve comments across multiple files by codespell (#4116)

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2025-03-07 08:21:54 +08:00
committed by GitHub
parent 73998e4c85
commit 412631ac13
108 changed files with 215 additions and 215 deletions

View File

@ -106,7 +106,7 @@ main(int argc, char *argv[])
printf("[Server] Achieve maximum amount of connections\n");
}
printf("[Server] Shuting down ..\n");
printf("[Server] Shutting down ..\n");
shutdown(socket_fd, SHUT_RDWR);
close(socket_fd);
sleep(3);
@ -114,7 +114,7 @@ main(int argc, char *argv[])
return EXIT_SUCCESS;
fail:
printf("[Server] Shuting down ..\n");
printf("[Server] Shutting down ..\n");
if (socket_fd >= 0)
close(socket_fd);
sleep(3);