Skip to content

Commit

Permalink
th: fix dlg flag check
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed May 20, 2016
1 parent 4c84bd8 commit 1b5802d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/topology_hiding/topo_hiding_logic.c
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ void th_loaded_callback(struct dlg_cell *dlg, int type,
return;
}

if (dlg_api.is_mod_flag_set(dlg,TOPOH_ONGOING) < 0) {
if (!dlg_api.is_mod_flag_set(dlg,TOPOH_ONGOING)) {
LM_DBG("no topo hiding for dlg %p\n", dlg);
return;
}
Expand Down

0 comments on commit 1b5802d

Please sign in to comment.