Condense styling a bit

This commit is contained in:
Travis Cross 2014-04-12 05:06:51 +00:00
parent 538cdd378c
commit 12af80d6b2

View File

@ -3737,10 +3737,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
REG_REGISTER, to_user, NULL, NULL, NULL);
if (v_event) switch_event_destroy(&v_event);
} else if (sofia_reg_handle_register(nua, profile, nh, sip, de, REG_REGISTER, key, sizeof(key), &v_event, NULL, NULL, NULL)) {
if (v_event) {
switch_event_destroy(&v_event);
}
if (v_event) switch_event_destroy(&v_event);
goto end;
}