diff options
Diffstat (limited to 'src/Server/message.zig')
| -rw-r--r-- | src/Server/message.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Server/message.zig b/src/Server/message.zig index 8005453..0b02892 100644 --- a/src/Server/message.zig +++ b/src/Server/message.zig @@ -120,7 +120,7 @@ pub const Message = union(enum) { } }; pub const HPub = struct { - header_bytes: usize, + header_bytes: []const u8, @"pub": Pub, pub fn deinit(self: HPub, alloc: Allocator) void { @@ -136,7 +136,7 @@ pub const Message = union(enum) { }; pub const HMsg = struct { - header_bytes: usize, + header_bytes: []const u8, msg: Msg, pub fn deinit(self: HMsg, alloc: Allocator) void { |
