diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2012-08-20 21:55:57 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2012-08-20 21:55:57 +0100 |
commit | a95e958046447d0ef88d93337171d4b8339348a4 (patch) | |
tree | 8bdf78c9cd26ad40c64366f6239515a486d2c756 /tests/run | |
parent | 99698ec5d88ed233d787eea919e3136d927d8494 (diff) | |
download | Nim-a95e958046447d0ef88d93337171d4b8339348a4.tar.gz |
Fixed tasyncudp.nim to work with fowl's changes.
Diffstat (limited to 'tests/run')
-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() |