Skip to content

Commit

Permalink
Merge pull request #475 from ianlin/master
Browse files Browse the repository at this point in the history
registrar: reg_xavp_cfg should not be reset when sock_flag is not set
  • Loading branch information
miconda committed Jan 14, 2016
2 parents dce9cea + caeda23 commit 256d5f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/registrar/reg_mod.c
Expand Up @@ -365,7 +365,6 @@ static int mod_init(void)
} else if (reg_xavp_cfg.s) {
if (reg_xavp_cfg.len == 0 || sock_flag == -1) {
LM_WARN("empty reg_xavp_cfg or sock_flag no set -> resetting\n");
reg_xavp_cfg.len = 0;
sock_flag = -1;
}
} else if (sock_flag!=-1) {
Expand Down

0 comments on commit 256d5f7

Please sign in to comment.