mirror of
https://git.robbyzambito.me/zits
synced 2026-02-04 11:44:48 +00:00
publish works
starting to use errors instead of unreachable for stream parsing
This commit is contained in:
@@ -109,17 +109,6 @@ pub fn writeInfo(out: *std.Io.Writer, info: Message.ServerInfo) !void {
|
||||
}
|
||||
|
||||
fn writeMsg(out: *std.Io.Writer, msg: Message.Msg) !void {
|
||||
std.debug.print("PRINTING MESSAGE\n\n\n\n", .{});
|
||||
std.debug.print(
|
||||
"MSG {s} {s} {s} {d}\r\n{s}\r\n-\n\n\n",
|
||||
.{
|
||||
msg.subject,
|
||||
msg.sid,
|
||||
msg.reply_to orelse "",
|
||||
msg.payload.len,
|
||||
msg.payload,
|
||||
},
|
||||
);
|
||||
try out.print(
|
||||
"MSG {s} {s} {s} {d}\r\n{s}\r\n",
|
||||
.{
|
||||
|
||||
Reference in New Issue
Block a user