Commit a45c32a8 authored by Lucas Russo's avatar Lucas Russo

src/sm_io/sm_io_bootstrap.c: fix MLM client socket reference

We were treating mlm_client_t * as an zactor_t * or sock_t *,
which is clearly wrong. Now, we first get the actor reference
from mlm_client_t * and then resolve the actor to the libzmq
socket.
parent fedd6b34
......@@ -319,7 +319,7 @@ static smio_err_e _smio_loop (smio_t *self)
pipe_mgmt_zmq_socket = zsock_resolve (self->pipe_mgmt);
ASSERT_TEST (pipe_mgmt_zmq_socket != NULL, "Invalid PIPE Management socket reference",
err_inv_pipe_mgmt_socket, SMIO_ERR_INV_SOCKET);
worker_zmq_socket = zsock_resolve (self->worker);
worker_zmq_socket = zactor_resolve (mlm_client_actor (self->worker));
ASSERT_TEST (worker_zmq_socket != NULL, "Invalid WORKER socket reference",
err_inv_worker_socket, SMIO_ERR_INV_SOCKET);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment