FS-6806 #resolve #comment off by 1 error in last fix

This commit is contained in:
Anthony Minessale 2014-09-10 20:32:36 +05:00
parent 37d7fb7888
commit 77c99b6306
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}