forked from github/abduco
Changed printf to write_all
This commit is contained in:
parent
1a6eb289e8
commit
9558c61a74
2
client.c
2
client.c
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue