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

Freeswitch SVN brian at freeswitch.org
Sat Sep 6 14:00:35 EDT 2008


Author: brian
Date: Sat Sep  6 14:00:35 2008
New Revision: 9472

Modified:
   freeswitch/trunk/src/switch_rtp.c

Log:
fix timer_name check in rtp

Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Sat Sep  6 14:00:35 2008
@@ -798,7 +798,7 @@
 	rtp_session->ms_per_packet = ms_per_packet;
 	rtp_session->samples_per_interval = rtp_session->conf_samples_per_interval = samples_per_interval;
 
-	if (!strcasecmp(timer_name, "none")) {
+	if (timer_name && !strcasecmp(timer_name, "none")) {
 		timer_name = NULL;
 	}
 



More information about the Freeswitch-svn mailing list