Skip to content

Commit

Permalink
don't overwrite last line break in packet with 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Draradech authored and vifino committed Aug 31, 2024
1 parent 8dc968c commit 839af35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/bgm_pixelflut.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ static int px_client_update(px_client_t * client) {
// The new remainder buffer belongs to us...
client->buffer = nb;
// The old line buffer is sent to the taskpool
*chp = 0;
chp[1] = 0;
taskpool_submit(TP_GLOBAL, px_buffer_update, cbuf);
}
return 0;
Expand Down

0 comments on commit 839af35

Please sign in to comment.