dc fix2
This commit is contained in:
parent
1bc53e1b15
commit
06e156e9aa
14
main.go
14
main.go
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue