From f3c76954624f8d84fd0e779109626f143830ad88 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Thu, 12 Jan 2023 00:26:10 +0100 Subject: [PATCH] Change a simple comment. --- zig-impl/src/tcpd.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zig-impl/src/tcpd.zig b/zig-impl/src/tcpd.zig index 0f2a052..c511629 100644 --- a/zig-impl/src/tcpd.zig +++ b/zig-impl/src/tcpd.zig @@ -199,7 +199,8 @@ fn create_service() !void { print("Finally, add switching\n", .{}); // Let's switch the connections! try ctx.add_switch(some_event.origin, stream.handle); - // TODO: should probably invoke: ctx.set_switch_callbacks (); + // Could invoke ctx.set_switch_callbacks but TCP sockets are + // working pretty well with default functions. } else { // TCPd was contacted without providing a message, nothing to do.