FS-3244 --resolve next time also attach a backtrace

This commit is contained in:
Anthony Minessale 2011-04-13 16:15:15 -05:00
parent 2bf69d621f
commit 2b6f70708c
1 changed files with 3 additions and 2 deletions

View File

@ -7047,8 +7047,9 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
}
if (!gateway && gw_param_name) {
gateway = sofia_reg_find_gateway(gw_param_name);
extension = gateway->real_extension;
if ((gateway = sofia_reg_find_gateway(gw_param_name))) {
extension = gateway->real_extension;
}
}
if (gateway) {