mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-16 19:20:13 -08:00
fix bad msg_size calculation
This commit is contained in:
1 parent
4f5e795ae9
commit
297cb626f5
1 file changed
+1
-1
@@ -840,7 +840,7 @@ entry_point(CmdLine *cmd_line)
|
||||
}
|
||||
StringJoin join = {.sep = s(" ")};
|
||||
String8 text = str8_list_join(scratch.arena, &text_parts, &join);
|
||||
U64 msg_size = text_parts.total_size;
|
||||
U64 msg_size = text.size;
|
||||
str8_list_push(scratch.arena, &parts, str8_struct(&ipc_packet_magic_start));
|
||||
str8_list_push(scratch.arena, &parts, str8_struct(&msg_size));
|
||||
str8_list_push(scratch.arena, &parts, text);
|
||||
|
||||
Reference in new issue
Block a user