Skip to content

Commit f59b12f

Browse files
authored
Merge pull request #2030 from l2dy/pua
pua: fix bitmask check
2 parents cafa49a + cd7dec8 commit f59b12f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/pua/send_publish.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ int send_publish_int(ua_pres_t* presentity, publ_info_t* publ, pua_event_t* ev,
469469
if(publ->expires== 0)
470470
{
471471
LM_DBG("expires= 0- delete from hash table\n");
472-
if (presentity->flag|MI_ASYN_PUBLISH)
472+
if (presentity->flag&MI_ASYN_PUBLISH)
473473
mi_hdl = presentity->cb_param;
474474
delete_htable_safe(presentity, hash_index);
475475
}

0 commit comments

Comments
 (0)