From: Anthony Minessale Date: Wed, 10 Sep 2014 15:32:36 +0000 (+0500) Subject: FS-6806 #resolve #comment off by 1 error in last fix X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b65939fc859c3d6327c9cc88194fb30e25af7caa;p=thirdparty%2Ffreeswitch.git FS-6806 #resolve #comment off by 1 error in last fix --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index f866985a66..b1bc009df5 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -2132,7 +2132,7 @@ static uint32_t sofia_presence_get_cseq(sofia_profile_t *profile) if (profile->last_cseq) { diff = callsequence - profile->last_cseq; - if (diff < 0 && diff > -100000) { + if (diff <= 0 && diff > -100000) { callsequence = ++profile->last_cseq; } }