summaryrefslogtreecommitdiff
path: root/src/ipc_listener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc_listener.cpp')
-rw-r--r--src/ipc_listener.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipc_listener.cpp b/src/ipc_listener.cpp
index bd2e5c7..b3e5693 100644
--- a/src/ipc_listener.cpp
+++ b/src/ipc_listener.cpp
@@ -83,11 +83,11 @@ void xs::ipc_listener_t::in_event (fd_t fd_)
// Choose I/O thread to run connecter in. Given that we are already
// running in an I/O thread, there must be at least one available.
- io_thread_t *io_thread = choose_io_thread (options.affinity);
- xs_assert (io_thread);
+ io_thread_t *thread = choose_io_thread (options.affinity);
+ xs_assert (thread);
// Create and launch a session object.
- session_base_t *session = session_base_t::create (io_thread, false, socket,
+ session_base_t *session = session_base_t::create (thread, false, socket,
options, NULL, NULL);
errno_assert (session);
session->inc_seqnum ();