This commit is contained in:
cx uname 2012-10-12 13:41:05 +04:00
parent 357be24375
commit 0bee6d1042
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ start:
select { select {
case <-time.After(60 * time.Second): case <-time.After(60 * time.Second):
if _, _, err = Conn.SendIQ("xmpp.ru", "set", "<keepalive xmlns='urn:xmpp:keepalive:0'> <interval>60</interval> </keepalive>"); err != nil { if _, _, err = Conn.SendIQ("xmpp.ru", "set", "<keepalive xmlns='urn:xmpp:keepalive:0'> <interval>60</interval> </keepalive>"); err != nil {
log.("KeepAlive", err) log.Fatalln("KeepAlive", err)
} }
log.Println("SENT 60") log.Println("SENT 60")
} }