fix for latest go.

This commit is contained in:
mattn 2011-04-05 18:31:59 +09:00
parent d5ee92e89e
commit 08d0d26b2d

View File

@ -70,7 +70,7 @@ func NewClient(host, user, passwd string) (*Client, os.Error) {
addr = url.Host
}
}
c, err := net.Dial("tcp", "", addr)
c, err := net.Dial("tcp", addr)
if err != nil {
return nil, err
}