From dd86e9d78cedf2c8505d18311e1978b0579e8e67 Mon Sep 17 00:00:00 2001 From: frmdstryr Date: Sun, 27 Dec 2020 09:10:43 -0500 Subject: [PATCH] Update event loop sendto error to SendToError --- lib/std/event/loop.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/event/loop.zig b/lib/std/event/loop.zig index 7de838abff..89546e0ff8 100644 --- a/lib/std/event/loop.zig +++ b/lib/std/event/loop.zig @@ -1262,7 +1262,7 @@ pub const Loop = struct { flags: u32, dest_addr: ?*const os.sockaddr, addrlen: os.socklen_t, - ) os.SendError!usize { + ) os.SendToError!usize { while (true) { return os.sendto(sockfd, buf, flags, dest_addr, addrlen) catch |err| switch (err) { error.WouldBlock => {