]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8130 get poll status
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 5 Oct 2015 21:43:10 +0000 (16:43 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 5 Oct 2015 21:43:17 +0000 (16:43 -0500)
src/switch_rtp.c

index 8a4d82496a1a792555a11df1dcbbf4af4cc00865..f8a7ae3514d733cc23ba3d1f17bf73f4d2ba9de9 100644 (file)
@@ -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);