summary refs log tree commit diff stats
path: root/tests/run
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2012-08-20 21:55:57 +0100
committerDominik Picheta <dominikpicheta@googlemail.com>2012-08-20 21:55:57 +0100
commita95e958046447d0ef88d93337171d4b8339348a4 (patch)
tree8bdf78c9cd26ad40c64366f6239515a486d2c756 /tests/run
parent99698ec5d88ed233d787eea919e3136d927d8494 (diff)
downloadNim-a95e958046447d0ef88d93337171d4b8339348a4.tar.gz
Fixed tasyncudp.nim to work with fowl's changes.
Diffstat (limited to 'tests/run')
-rw-r--r--tests/run/tasyncudp.nim3
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()