This commit is contained in:
shoopea 2019-06-28 17:17:33 +08:00
parent f80caefeea
commit 049e7868a8

View File

@ -45,8 +45,8 @@ func MQGetMsgWorker(id int, msgs chan<- ChatWarsMessage) {
SSL: false,
}
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Address of struct : %p\n", c)
err := OpenMQ(c)
log.Printf("MQGetMsgWorker["+strconv.Itoa(id)+"] : Address of struct : %p\n", &c)
err := OpenMQ(&c)
if err != nil {
q, err := c.Channel.QueueDeclare(