Skip to content

Commit

Permalink
switch to g_strchomp
Browse files Browse the repository at this point in the history
  • Loading branch information
dl1jbe committed Oct 11, 2024
1 parent 99f24f4 commit ff1e4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void *background_process(void *ptr) {
if (lan_message[0] == '\0') {

if (lan_recv() >= 0) {
lan_message[strlen(lan_message) - 1] = '\0';
g_strchomp(lan_message);
}
}

Expand Down

0 comments on commit ff1e4e0

Please sign in to comment.