Build fix

This commit is contained in:
DanB
2016-04-14 20:15:15 +02:00
parent 0e59798fb5
commit c48a4c4b19

View File

@@ -83,7 +83,7 @@ func (self *SMGeneric) ttlTerminate(s *SMGSession, tmtr *smgSessionTerminator) {
totalSessionUsage := s.TotalUsage() + tmtr.ttl
if tmtr.ttlUsage != nil {
totalSessionUsage = s.TotalUsage() + *tmtr.ttlUsage
evUpdate[utils.USAGE] = diffSessionUsage.Seconds()
evUpdate[utils.USAGE] = tmtr.ttlUsage.Seconds()
}
if tmtr.ttlLastUsed != nil {
evUpdate[utils.LastUsed] = tmtr.ttlLastUsed.Seconds()