remove extra null byte

i have no clue why i put that there
This commit is contained in:
xfnw 2022-03-14 19:45:47 -04:00
parent 3a2abc58e8
commit 516dd498c2

View file

@ -77,7 +77,7 @@ void *handle_connection(void *socket_desc) {
continue;
}
if (!strcmp("SIZE", command)) {
sprintf(message, "SIZE %i %i\n\0", fb_width, fb_height);
sprintf(message, "SIZE %i %i\n", fb_width, fb_height);
write(sock, message, strlen(message));
continue;
}