Commit 6310c8a0 authored by johan's avatar johan

Fix harmless bug in timer management

parent 1ac1e066
......@@ -1349,8 +1349,8 @@ int state_secure(bzrtpEvent_t event) {
/*** Manage the first call to this function ***/
if (event.eventType == BZRTP_EVENT_INIT) {
/* there is no timer in this state, turn it of */
zrtpChannelContext->timer.status = BZRTP_TIMER_ON;
/* there is no timer in this state, turn it off */
zrtpChannelContext->timer.status = BZRTP_TIMER_OFF;
/* if we are not in Multistream mode, turn the global context isSecure flag to 1 */
if (zrtpChannelContext->keyAgreementAlgo != ZRTP_KEYAGREEMENT_Mult) {
......
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