diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:53 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:04:53 +0900 |
commit | aaa766acf7596eb4de7afe6ae0121335f4fd05da (patch) | |
tree | affa1fdb70ba90ae9893d452dea13776faeb6ff4 /src/pgm_sender.cpp | |
parent | 71744dc8ef9b59a342b03f7ba2c3699f5ccb862a (diff) |
cancel_timer function renamed to rm_timer
This is more consistent with adjacent add_fd and rm_fd functions.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/pgm_sender.cpp')
-rw-r--r-- | src/pgm_sender.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pgm_sender.cpp b/src/pgm_sender.cpp index 54997cd..8637f5a 100644 --- a/src/pgm_sender.cpp +++ b/src/pgm_sender.cpp @@ -107,12 +107,12 @@ void xs::pgm_sender_t::plug (io_thread_t *io_thread_, session_base_t *session_) void xs::pgm_sender_t::unplug () { if (has_rx_timer) { - cancel_timer (rx_timer_id); + rm_timer (rx_timer_id); has_rx_timer = false; } if (has_tx_timer) { - cancel_timer (tx_timer_id); + rm_timer (tx_timer_id); has_tx_timer = false; } @@ -151,7 +151,7 @@ xs::pgm_sender_t::~pgm_sender_t () void xs::pgm_sender_t::in_event (fd_t fd_) { if (has_rx_timer) { - cancel_timer (rx_timer_id); + rm_timer (rx_timer_id); has_rx_timer = false; } @@ -190,7 +190,7 @@ void xs::pgm_sender_t::out_event (fd_t fd_) } if (has_tx_timer) { - cancel_timer (tx_timer_id); + rm_timer (tx_timer_id); has_tx_timer = false; } |