[Freeswitch-svn] [commit] r11596 - freeswitch/trunk/src

FreeSWITCH SVN mikej at freeswitch.org
Mon Feb 2 09:04:57 PST 2009


Author: mikej
Date: Mon Feb  2 11:04:56 2009
New Revision: 11596

Log:
fix windows build

Modified:
   freeswitch/trunk/src/switch_core_session.c

Modified: freeswitch/trunk/src/switch_core_session.c
==============================================================================
--- freeswitch/trunk/src/switch_core_session.c	(original)
+++ freeswitch/trunk/src/switch_core_session.c	Mon Feb  2 11:04:56 2009
@@ -1299,7 +1299,9 @@
 		log = switch_core_session_alloc(session, sizeof(*log));
 
 		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);
 



More information about the Freeswitch-svn mailing list