6 Sep
2008
6 Sep
'08
6 p.m.
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; }