Skip to content

Commit 8d75a36

Browse files
pfalcondpgeorge
authored andcommitted
uasyncio.udp: Remove optional flags value in a call to usocket.sendto().
1 parent 4238bc9 commit 8d75a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uasyncio.udp/uasyncio/udp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def recvfrom(s, n):
4545

4646
def sendto(s, buf, addr=None):
4747
while 1:
48-
res = s.sendto(buf, 0, addr)
48+
res = s.sendto(buf, addr)
4949
#print("send res:", res)
5050
if res == len(buf):
5151
return

0 commit comments

Comments
 (0)