mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
tcp: fix the config import (how did it build?)
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const xev = @import("xev");
|
const xev = @import("xev");
|
||||||
const Config = @import("../Config.zig").Config;
|
const Config = @import("../config/Config.zig");
|
||||||
|
|
||||||
const reject_client = @import("./handlers/reject.zig").reject_client;
|
const reject_client = @import("./handlers/reject.zig").reject_client;
|
||||||
const read_client = @import("./handlers/reader.zig").read_client;
|
const read_client = @import("./handlers/reader.zig").read_client;
|
||||||
@ -38,10 +38,6 @@ socket: xev.TCP,
|
|||||||
/// Timer for accepting connections
|
/// Timer for accepting connections
|
||||||
acceptor: xev.Timer,
|
acceptor: xev.Timer,
|
||||||
|
|
||||||
/// Array of client sockets
|
|
||||||
/// TODO: Merge with `sock_pool`? or make a hashmap
|
|
||||||
clients: SocketPool,
|
|
||||||
|
|
||||||
/// Number of clients connected
|
/// Number of clients connected
|
||||||
clients_count: usize,
|
clients_count: usize,
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ const std = @import("std");
|
|||||||
const xev = @import("xev");
|
const xev = @import("xev");
|
||||||
const tcp = @import("../tcp.zig");
|
const tcp = @import("../tcp.zig");
|
||||||
const App = @import("../App.zig");
|
const App = @import("../App.zig");
|
||||||
const Config = @import("../Config.zig").Config;
|
const Config = @import("../config/Config.zig");
|
||||||
|
|
||||||
const Allocator = std.mem.Allocator;
|
const Allocator = std.mem.Allocator;
|
||||||
const log = std.log.scoped(.tcp_thread);
|
const log = std.log.scoped(.tcp_thread);
|
||||||
|
Reference in New Issue
Block a user