SICS-746 STATEMON INTEREST register STEND only once

This commit is contained in:
Douglas Clowes
2014-06-11 17:12:46 +10:00
parent 09c82c0644
commit 702a85b83f

View File

@ -386,9 +386,6 @@ int StateMonAction(SConnection * pCon, SicsInterp * pSics, void *pData,
lID = RegisterCallback(self->pCall, STSTART, StateInterest, lID = RegisterCallback(self->pCall, STSTART, StateInterest,
callCon, NULL); callCon, NULL);
SCRegister(pCon, pSics, self->pCall, lID); 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, lID = RegisterCallback(self->pCall, STPAUSE, StateInterest,
callCon, NULL); callCon, NULL);
SCRegister(pCon, pSics, self->pCall, lID); SCRegister(pCon, pSics, self->pCall, lID);