Skip to content

Commit

Permalink
Fix compilation issue introduced in commit a9fcd84
Browse files Browse the repository at this point in the history
(cherry picked from commit 6f82449)
  • Loading branch information
liviuchircu committed Aug 30, 2013
1 parent 14b667a commit 6ee40a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/load_balancer/lb_data.c
Expand Up @@ -550,7 +550,7 @@ int do_load_balance(struct sip_msg *req, int grp, struct lb_res_str_list *rl,
/* add to the profiles */
for( i=0 ; i<rl->n ; i++) {
if (lb_dlg_binds.set_profile( req, &dst->profile_id,
call_res[i]->profile)!=0)
call_res[i]->profile, 0)!=0)
LM_ERR("failed to add to profile\n");
}
}
Expand Down Expand Up @@ -741,7 +741,7 @@ int lb_count_call(struct lb_data *data, struct sip_msg *req,
/* add to the profiles */
for( i=0 ; i<rl->n ; i++) {
if (lb_dlg_binds.set_profile( req, &dst->profile_id,
call_res[i]->profile)!=0)
call_res[i]->profile, 0)!=0)
LM_ERR("failed to add to profile\n");
}

Expand Down

0 comments on commit 6ee40a5

Please sign in to comment.