╭ changed ────────╮ │src/serve_ssh.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────╮ │142 } │ │143 │ │144 fn runTui(handler: *const SessionHandler, sess: *ssh.SessionCtx, pty: ssh.PtySize) !void {│ │145 - const allocator = sess.allocator; │ │146 - const io = sess.io; │ │145 + const allocator = sess.conn.allocator; │ │146 + const io = sess.conn.io; │ │147 │ │148 // some clients (notably scripted ssh with no local controlling tty) │ │149 // allocate a pty without ever sending a non-zero size. fall back to a │ ╰───────────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │252 }; │ │253 │ │254 fn runGitSession(handler: *const SessionHandler, sess: *ssh.SessionCtx, command: []const u8) !void { │ │255 - const allocator = sess.allocator; │ │256 - const io = sess.io; │ │255 + const allocator = sess.conn.allocator; │ │256 + const io = sess.conn.io; │ │257 │ │258 const parsed = parseGitCommand(allocator, command) catch return writeError(sess, "unsupported command (expected git-upload-pack or git-receive-pack)");│ │259 defer parsed.deinit(allocator); │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯