From ebf6f0b9491953bc130f8b08fef6cedf00b20b81 Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Fri, 12 Aug 2016 20:02:23 -0400 Subject: [PATCH] Fix typo in create_datagram_endpoint Typo causes create_datagram_endpoint to send traffic to the local_addr instead of the remote_addr. Closes #45. --- uvloop/loop.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uvloop/loop.pyx b/uvloop/loop.pyx index 9c1f907..f6735bd 100644 --- a/uvloop/loop.pyx +++ b/uvloop/loop.pyx @@ -2316,7 +2316,7 @@ cdef class Loop: local_addr)) from ctx if rads is not None: - rai = (lads).data + rai = (rads).data sock = udp._get_socket() while rai is not NULL: if rai.ai_family != lai.ai_family: