pesky interop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3387 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7409f414f5
commit
ff4d2b3dcc
|
@ -264,9 +264,9 @@ ldl_status ldl_session_create(ldl_session_t **session_p, ldl_handle_t *handle, c
|
||||||
session->id = apr_pstrdup(session->pool, id);
|
session->id = apr_pstrdup(session->pool, id);
|
||||||
session->them = apr_pstrdup(session->pool, them);
|
session->them = apr_pstrdup(session->pool, them);
|
||||||
|
|
||||||
|
if (flags & LDL_FLAG_OUTBOUND) {
|
||||||
session->initiator = apr_pstrdup(session->pool, (flags & LDL_FLAG_OUTBOUND) ? me : them);
|
session->initiator = apr_pstrdup(session->pool, me);
|
||||||
|
}
|
||||||
|
|
||||||
if (ldl_test_flag(handle, LDL_FLAG_COMPONENT)) {
|
if (ldl_test_flag(handle, LDL_FLAG_COMPONENT)) {
|
||||||
session->login = apr_pstrdup(session->pool, me);
|
session->login = apr_pstrdup(session->pool, me);
|
||||||
|
|
Loading…
Reference in New Issue