Fixes docgen.

This commit is contained in:
Dominik Picheta 2014-04-15 22:08:21 +01:00
commit 941cc937d3
3 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@
## constructor should be used for this purpose. However,
## currently only basic authentication is supported.
import sockets, strutils, parseurl, parseutils, strtabs, base64
import sockets, strutils, parseurl, parseutils, strtabs, base64, os
import asyncnet, asyncdispatch
import rawsockets

View file

@ -238,7 +238,7 @@ when isMainModule:
sock: TSocket
var sock = socket()
if sock == InvalidSocket: osError(osLastError())
if sock == sockets.InvalidSocket: osError(osLastError())
#sock.setBlocking(false)
sock.connect("irc.freenode.net", TPort(6667))