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-Tag: v1.4.8~2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77c99b630697f53c7ccb5a8cf024155678c90c60;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 a48e00fcbd..a7e4e6f78f 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -2140,7 +2140,7 @@ 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; } }