Skip to content

Commit

Permalink
The correct document version number is now set in the NOTIFY requests.
Browse files Browse the repository at this point in the history
There was a locking bug leading to NOTIFY being issued with the same
version number.
  • Loading branch information
dsandras committed Aug 5, 2013
1 parent 91e4dbd commit 1ae4041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/presence/hash.c
Expand Up @@ -355,7 +355,7 @@ int update_shtable(shtable_t htable,unsigned int hash_code,
else
{
subs->local_cseq= s->local_cseq++;
s->version= subs->version+ 1;
subs->version= s->version++;
}

if(strncmp(s->contact.s, subs->contact.s, subs->contact.len))
Expand Down

0 comments on commit 1ae4041

Please sign in to comment.