From a95e958046447d0ef88d93337171d4b8339348a4 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Mon, 20 Aug 2012 21:55:57 +0100 Subject: Fixed tasyncudp.nim to work with fowl's changes. --- tests/run/tasyncudp.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit 1.4.1-2-gfad0