Skip to content

Commit

Permalink
presence: slot and presentity uri printed in log message
Browse files Browse the repository at this point in the history
- useful for understanding while deleting subscription from memory fails
  to find the item

(cherry picked from commit 8006c3a)
  • Loading branch information
miconda committed Jan 15, 2015
1 parent d08a925 commit f8276f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/presence/subscribe.c
Expand Up @@ -470,7 +470,9 @@ void delete_subs(str* pres_uri, str* ev_name, str* to_tag,
unsigned int hash_code= core_hash(pres_uri, ev_name, shtable_size);
if(delete_shtable(subs_htable, hash_code, &subs) < 0) {
LM_ERR("Failed to delete subscription from memory"
" [%.*s : %.*s / %.*s / %.*s]\n", ev_name->len, ev_name->s,
" [slot: %u ev: %.*s pu: %.*s ci: %.*s ft: %.*s tt: %.*s]\n",
hash_code, pres_uri->len, pres_uri->s,
ev_name->len, ev_name->s,
callid->len, callid->s, from_tag->len, from_tag->s,
to_tag->len, to_tag->s);
}
Expand Down

0 comments on commit f8276f7

Please sign in to comment.