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 }