From 702a85b83fc9093eb8f0366eeed6c74f2bdba634 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Wed, 11 Jun 2014 17:12:46 +1000 Subject: [PATCH] SICS-746 STATEMON INTEREST register STEND only once --- statemon.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/statemon.c b/statemon.c index fdbbdba3..d648e126 100644 --- a/statemon.c +++ b/statemon.c @@ -386,9 +386,6 @@ int StateMonAction(SConnection * pCon, SicsInterp * pSics, void *pData, lID = RegisterCallback(self->pCall, STSTART, StateInterest, callCon, NULL); SCRegister(pCon, pSics, self->pCall, lID); - lID = RegisterCallback(self->pCall, STEND, StateInterest, - callCon, NULL); - SCRegister(pCon, pSics, self->pCall, lID); lID = RegisterCallback(self->pCall, STPAUSE, StateInterest, callCon, NULL); SCRegister(pCon, pSics, self->pCall, lID);