╭ changed ────────╮ │src/serve_ssh.zig│ ╰─────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────╮ │365 // write an error to the client's stderr and exit non-zero. stderr (not stdout)│ │366 // because the git exec sessions that call this carry the pack protocol on │ │367 // stdout, where stray text breaks the client's pkt-line parser. │ │368 -fn writeError(sess: *ssh.SessionCtx, msg: []const u8) !void { │ │369 - var buf: [256]u8 = undefined; │ │370 - const text = try std.fmt.bufPrint(&buf, "haxy ssh: {s}\n", .{msg}); │ │371 - try sess.writeStderr(text); │ │368 +fn writeError(sess: *ssh.SessionCtx, comptime msg: []const u8) !void { │ │369 + try sess.writeStderr("haxy ssh: " ++ msg ++ "\n"); │ │370 try sess.exit(1); │ │371 } │ │372 │ ╰────────────────────────────────────────────────────────────────────────────────────╯