summaryrefslogtreecommitdiffstats
path: root/matterclient
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-07-22 23:04:08 +0200
committerWim <wim@42.be>2016-07-22 23:04:08 +0200
commit28244ffd9a6bad6228fbe53d73040ec29780b8a7 (patch)
treef659d2347930bb2dc2836d65a23b57ca058555b4 /matterclient
parent3e38c7945c5ae6b26d430e2aa2d913d091826abf (diff)
downloadmatterbridge-msglm-28244ffd9a6bad6228fbe53d73040ec29780b8a7.tar.gz
matterbridge-msglm-28244ffd9a6bad6228fbe53d73040ec29780b8a7.tar.bz2
matterbridge-msglm-28244ffd9a6bad6228fbe53d73040ec29780b8a7.zip
Fix pointer reuse problem
Diffstat (limited to 'matterclient')
-rw-r--r--matterclient/matterclient.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index b4bafcd1..db6c54a3 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -189,8 +189,8 @@ func (m *MMClient) Logout() error {
}
func (m *MMClient) WsReceiver() {
- var rmsg model.Message
for {
+ var rmsg model.Message
if m.WsQuit {
m.log.Debug("exiting WsReceiver")
return