--- opensips-1.6.3-tls/modules/load_balancer/lb_data.c 2010-03-11 12:32:10.000000000 -0600 +++ opensips-1.6.3-tls-new/modules/load_balancer/lb_data.c 2011-02-10 02:53:29.000000000 -0600 @@ -497,7 +497,7 @@ if (last_dst) { for( i=0 ; in ; i++) { if (lb_dlg_binds.unset_profile( req, &last_dst->profile_id, - call_res[i]->profile)!=0) + call_res[i]->profile)!=1) LM_ERR("failed to remove from profile\n"); } }