Change a simple comment.

master
Philippe Pittoli 2023-01-12 00:26:10 +01:00
parent bb9d397a40
commit f3c7695462
1 changed files with 2 additions and 1 deletions

View File

@ -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.