From 516dd498c29569dcee92661d19cd5d2e783bc157 Mon Sep 17 00:00:00 2001 From: xfnw Date: Mon, 14 Mar 2022 19:45:47 -0400 Subject: [PATCH] remove extra null byte i have no clue why i put that there --- fbflut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbflut.c b/fbflut.c index cfb3dd2..1375215 100644 --- a/fbflut.c +++ b/fbflut.c @@ -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; }