╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ────╮ │src/serve.zig│ ╰─────────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │71 + // run listeners │ │72 + │ │73 try err.print("serving HTTP on {s}, repo root {s}\n", .{ options.http_listen, repo_root_path });│ │74 try err.flush(); │ │75 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │76 runHttpListener(repo_kind, any_repo_opts, io, allocator, repo_root_path, &http_server, &tasks, err); │ │77 │ │79 - if (options.ssh_listen) |ssh_listen| { │ │80 - try err.print("serving SSH helper connections on {s}, repo root {s}\n", .{ ssh_listen, repo_root_path }); │ │81 - try err.flush(); │ │78 + try err.print("serving SSH helper connections on {s}, repo root {s}\n", .{ options.ssh_listen, repo_root_path });│ │79 + try err.flush(); │ │80 │ │83 - const server = &(ssh_server orelse return error.MissingSshServer); │ │84 - runSshListener(repo_kind, any_repo_opts, io, allocator, repo_root_path, server, &tasks, err); │ │85 - } │ │81 + runSshListener(repo_kind, any_repo_opts, io, allocator, repo_root_path, &ssh_server, &tasks, err); │ │82 │ │87 - try err.print("serving web UI on http://{s}/\n", .{wui_listen}); │ │83 + try err.print("serving web UI on http://{s}/\n", .{options.wui_listen}); │ │84 try err.flush(); │ │85 │ │86 web.run(io, &wui_server, &tasks, err); │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯