use sofia specific flag macros

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11713 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2009-02-09 17:56:38 +00:00
1 parent 8ab4e237d7
commit bbf0159708
6 files changed
+327 -323

No files matched your search

+1 -1
View File
@@ -1447,7 +1447,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
display = "\"user\"";
}
if ((profile->pflags & PFLAG_AGGRESSIVE_NAT_DETECTION)) {
if (sofia_test_pflag(profile, PFLAG_AGGRESSIVE_NAT_DETECTION)) {
if (sip && sip->sip_via) {
const char *v_port = sip->sip_via->v_port;
const char *v_host = sip->sip_via->v_host;