fix windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11596 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-02-02 17:04:56 +00:00
parent 4d5e24f3d5
commit 6988faa448
1 changed files with 3 additions and 1 deletions

View File

@ -1299,7 +1299,9 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_exec(switch_core_session_t *
log = switch_core_session_alloc(session, sizeof(*log)); log = switch_core_session_alloc(session, sizeof(*log));
log->app = switch_core_session_strdup(session, application_interface->interface_name); log->app = switch_core_session_strdup(session, application_interface->interface_name);
log->arg = switch_core_session_strdup(session, expanded); if (expanded) {
log->arg = switch_core_session_strdup(session, expanded);
}
for (lp = session->app_log; lp && lp->next; lp = lp->next); for (lp = session->app_log; lp && lp->next; lp = lp->next);