remove extra null byte
i have no clue why i put that there
This commit is contained in:
parent
3a2abc58e8
commit
516dd498c2
1 changed files with 1 additions and 1 deletions
2
fbflut.c
2
fbflut.c
|
@ -77,7 +77,7 @@ void *handle_connection(void *socket_desc) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!strcmp("SIZE", command)) {
|
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));
|
write(sock, message, strlen(message));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue