From: Anthony Minessale Date: Mon, 5 Oct 2015 21:43:10 +0000 (-0500) Subject: FS-8130 get poll status X-Git-Tag: v1.6.3~1^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cca82a62e26d9b289b185852e915b3b8cd814ff;p=thirdparty%2Ffreeswitch.git FS-8130 get poll status --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 8a4d82496a..f8a7ae3514 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -5012,8 +5012,8 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t to = rtp_session->timer.interval * 1000; } } - - switch_poll(rtp_session->read_pollfd, 1, &fdr, to); + + poll_status = switch_poll(rtp_session->read_pollfd, 1, &fdr, to); if (rtp_session->flags[SWITCH_RTP_FLAG_USE_TIMER] && rtp_session->timer.interval) { switch_core_timer_sync(&rtp_session->timer);