mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
FS-11944: [mod_sofia] Fix error: 'nh->nh_home' will always evaluate to 'true'.
This commit is contained in:
@@ -4073,7 +4073,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
|
||||
}
|
||||
}
|
||||
|
||||
if (nh && nh->nh_home) {
|
||||
if (nh) {
|
||||
sip_to_tag(nh->nh_home, sip->sip_to, use_to_tag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user