[Freeswitch-svn] [commit] r3387 - freeswitch/trunk/libs/libdingaling/src
Freeswitch SVN
anthm at freeswitch.org
Thu Nov 16 14:28:05 EST 2006
Author: anthm
Date: Thu Nov 16 14:28:05 2006
New Revision: 3387
Modified:
freeswitch/trunk/libs/libdingaling/src/libdingaling.c
Log:
pesky interop
Modified: freeswitch/trunk/libs/libdingaling/src/libdingaling.c
==============================================================================
--- freeswitch/trunk/libs/libdingaling/src/libdingaling.c (original)
+++ freeswitch/trunk/libs/libdingaling/src/libdingaling.c Thu Nov 16 14:28:05 2006
@@ -264,9 +264,9 @@
session->id = apr_pstrdup(session->pool, id);
session->them = apr_pstrdup(session->pool, them);
-
- session->initiator = apr_pstrdup(session->pool, (flags & LDL_FLAG_OUTBOUND) ? me : them);
-
+ if (flags & LDL_FLAG_OUTBOUND) {
+ session->initiator = apr_pstrdup(session->pool, me);
+ }
if (ldl_test_flag(handle, LDL_FLAG_COMPONENT)) {
session->login = apr_pstrdup(session->pool, me);
More information about the Freeswitch-svn
mailing list