This commit is contained in:
cx uname 2014-02-25 16:45:58 +04:00
parent 1bc53e1b15
commit 06e156e9aa
1 changed files with 7 additions and 7 deletions

14
main.go
View File

@ -26,14 +26,14 @@ var (
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
var (
Conn *xmpp.Conn
err error
)
var (
Conn *xmpp.Conn
err error
)
start:
if Conn != nil {
log.Println("Conn check:", Conn.Close())
}
if Conn != nil {
log.Println("Conn check:", Conn.Close())
}
Conn, err = xmpp.Dial("xmpp.ru:5222", "hypnotoad", "xmpp.ru", "pass", "AllHailHypnotoad", nil)
if err != nil {