diff options
Diffstat (limited to 'tests/run/tasyncudp.nim')
-rw-r--r-- | tests/run/tasyncudp.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run/tasyncudp.nim b/tests/run/tasyncudp.nim index b404169dc..fd7f3d568 100644 --- a/tests/run/tasyncudp.nim +++ b/tests/run/tasyncudp.nim @@ -16,7 +16,8 @@ var proc serverRead(s: PAsyncSocket) = var data = "" var address = "" - if s.recvFromAsync(data, 9, address): + var port: TPort + if s.recvFromAsync(data, 9, address, port): assert address == "127.0.0.1" msgCount.inc() |