Commit 2b08c23b authored by Claes Sjofors's avatar Claes Sjofors

Messagehandler, bugfix in application alarm count

parent 1a885aaa
......@@ -751,7 +751,8 @@ activeListRemove (
LstRem(&aap->active_l); /* Remove from application alarm list */
LstNul(&aap->active_l);
--aap->ap->activeMessages;
if ( aap->ap->activeMessages > 0)
--aap->ap->activeMessages;
if (ap->source == mh_eSource_Application)
free(ap);
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment