logging
This commit is contained in:
parent
c0c6609e83
commit
66b82e31d4
|
@ -371,9 +371,9 @@ func (sessions *wSessions) Remove(sid string) {
|
||||||
delete(SessionWS, sid)
|
delete(SessionWS, sid)
|
||||||
}
|
}
|
||||||
|
|
||||||
cnt := 0 // count wide sessions associated with HTTP session
|
cnt := -1 // count wide sessions associated with HTTP session
|
||||||
for _, s := range *sessions {
|
for _, ses := range *sessions {
|
||||||
if s.HTTPSession.ID == s.HTTPSession.ID {
|
if ses.HTTPSession.ID == s.HTTPSession.ID {
|
||||||
cnt++
|
cnt++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue