summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2013-03-23 20:13:11 +0000
committerDominik Picheta <dominikpicheta@googlemail.com>2013-03-23 20:13:11 +0000
commit52679849857b9a289ac5c75c420e6bce8680b3c7 (patch)
tree1e0fc246b3858bd959132c5c9ed8097d23ceae9b /tests
parentb76ee0d9e1a587a0cc388085896a3870663e64ab (diff)
downloadNim-52679849857b9a289ac5c75c420e6bce8680b3c7.tar.gz
Deprecated recvLine and added an improved version named readLine to the
sockets module.
Diffstat (limited to 'tests')
-rw-r--r--tests/run/tasynciossl.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/tasynciossl.nim b/tests/run/tasynciossl.nim
index e5fb9610c..fbed46efb 100644
--- a/tests/run/tasynciossl.nim
+++ b/tests/run/tasynciossl.nim
@@ -26,7 +26,7 @@ proc swarmConnect(s: PAsyncSocket) =
 
 proc serverRead(s: PAsyncSocket) =
   var line = ""
-  assert s.recvLine(line)
+  assert s.readLine(line)
   if line != "":
     #echo(line)
     if line.startsWith("Message "):