mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-17 16:54:13 +00:00
FS-11944: [mod_sofia] Fix error: 'nh->nh_home' will always evaluate to 'true'.
This commit is contained in:
1 parent
6cb4c2720a
commit
91e99db6c8
1 file changed
+1
-1
@@ -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