From 5a995dfd8d2e25749f03d1cde6e22aeccd2ca48e Mon Sep 17 00:00:00 2001 From: Muaz Ahmad Date: Mon, 13 May 2024 03:16:52 +0500 Subject: [PATCH] Remove unneeded errno debug print --- src/mdns.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mdns.zig b/src/mdns.zig index 0c42fcc..7b3d098 100644 --- a/src/mdns.zig +++ b/src/mdns.zig @@ -31,7 +31,6 @@ fn get_mdns_socket(ip_info: util.IPInfo) !socket { } const timeout: std.c.timeval = .{ .tv_sec = 1, .tv_usec = 0 }; if (std.c.setsockopt(sock, std.c.SOL.SOCKET, std.c.SO.RCVTIMEO, &timeout, @intCast(@sizeOf(std.c.timeval))) == -1) { - std.debug.print("{d}\n", .{std.c._errno().*}); return MDNSError.SocketSetTimeoutFail; } return sock;