From 08d0d26b2d4f49d1d82c830c548e8f13fd2b2070 Mon Sep 17 00:00:00 2001 From: mattn Date: Tue, 5 Apr 2011 18:31:59 +0900 Subject: [PATCH] fix for latest go. --- xmpp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp.go b/xmpp.go index 24340de..1812d83 100644 --- a/xmpp.go +++ b/xmpp.go @@ -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 }