diff options
author | Martin Lucina <mato@kotelna.sk> | 2011-09-08 16:38:46 +0200 |
---|---|---|
committer | Martin Lucina <martin@lucina.net> | 2012-01-23 08:54:16 +0100 |
commit | 88f712b4a31c95caef4f34c4ec65793c392314a6 (patch) | |
tree | 2f17936ce9d53b1b13908e8d4288846aaa604263 /src/pgm_receiver.cpp | |
parent | ad3e013f74d309b86e8f087932203e5787fe2d2d (diff) | |
parent | 75af6aed482ab16997c1388fe801f74d11ec12a4 (diff) |
Imported Debian patch 2.1.9-1debian/2.1.9-1
Diffstat (limited to 'src/pgm_receiver.cpp')
-rw-r--r-- | src/pgm_receiver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pgm_receiver.cpp b/src/pgm_receiver.cpp index 4fadadc..7e7da96 100644 --- a/src/pgm_receiver.cpp +++ b/src/pgm_receiver.cpp @@ -60,8 +60,8 @@ int zmq::pgm_receiver_t::init (bool udp_encapsulation_, const char *network_) void zmq::pgm_receiver_t::plug (io_thread_t *io_thread_, i_inout *inout_) { // Retrieve PGM fds and start polling. - int socket_fd; - int waiting_pipe_fd; + fd_t socket_fd = retired_fd; + fd_t waiting_pipe_fd = retired_fd; pgm_socket.get_receiver_fds (&socket_fd, &waiting_pipe_fd); socket_handle = add_fd (socket_fd); pipe_handle = add_fd (waiting_pipe_fd); |