This commit is contained in:
shoopea 2019-07-31 15:16:12 +08:00
parent 87777a2307
commit 3e3a1ca376

View File

@ -595,8 +595,10 @@ func MQTidyKeepAliveWorker() {
}
TGCmdQueue <- cmd
clt.Active = false
} else if clt.Active {
log.Printf("MQTidyKeepAliveWorker : Client %s is active.\n", clt.MQ.User)
} else {
log.Printf("MQTidyKeepAliveWorker : Client %s inactive.\n", clt.MQ.User)
log.Printf("MQTidyKeepAliveWorker : Client %s is inactive.\n", clt.MQ.User)
}
clt.Mux.Unlock()
}