From: Anthony Minessale Date: Sun, 18 Feb 2007 16:51:11 +0000 (+0000) Subject: update X-Git-Tag: v1.0-beta1~1052 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=045eb8a9de2db8163ef8f18c9735d3a1bb910388;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4318 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index bcc1cf8a7c..1a355d5431 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -491,7 +491,6 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_create(switch_rtp_t **new_rtp_session } } - rtp_session->ready++; *new_rtp_session = rtp_session; return SWITCH_STATUS_SUCCESS; @@ -524,6 +523,8 @@ SWITCH_DECLARE(switch_rtp_t *)switch_rtp_new(char *rx_host, return NULL; } + rtp_session->ready = 1; + return rtp_session; }