Changed printf to write_all

This commit is contained in:
Michael Krayer 2023-10-12 11:47:38 +02:00
parent 1a6eb289e8
commit 9558c61a74
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ static int client_mainloop(void) {
.len = sizeof(pkt.u.i), .len = sizeof(pkt.u.i),
}; };
client_send_packet(&pkt); client_send_packet(&pkt);
printf("Welcome\r\n"); write_all(STDOUT_FILENO,"Welcome\r\n",9);
while (server.running) { while (server.running) {
fd_set fds; fd_set fds;