Skip to content

Commit

Permalink
fixes #24538 (#24541)
Browse files Browse the repository at this point in the history
fixes #24538
  • Loading branch information
ringabout authored Dec 16, 2024
1 parent b9c5934 commit 91d1933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/asyncnet.nim
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ proc recvFrom*(socket: AsyncSocket, data: FutureVar[string], size: int,
"Cannot `recvFrom` on a TCP socket. Use `recv` or `recvInto` instead")
assert(not socket.closed, "Cannot `recvFrom` on a closed socket")
assert(size == len(data.mget()),
"`date` was not initialized correctly. `size` != `len(data.mget())`")
"`data` was not initialized correctly. `size` != `len(data.mget())`")
assert(46 == len(address.mget()),
"`address` was not initialized correctly. 46 != `len(address.mget())`")

Expand Down

0 comments on commit 91d1933

Please sign in to comment.