Commit 0b4ce808 authored by Dylan Cali's avatar Dylan Cali

fix minor typo in zmq_ctx_get doc example

parent 73ae948a
...@@ -54,7 +54,7 @@ EXAMPLE ...@@ -54,7 +54,7 @@ EXAMPLE
.Setting a limit on the number of sockets .Setting a limit on the number of sockets
---- ----
void *context = zmq_ctx_new (); void *context = zmq_ctx_new ();
zmq_ctx_get (context, ZMQ_MAX_SOCKETS, 256); zmq_ctx_set (context, ZMQ_MAX_SOCKETS, 256);
int max_sockets = zmq_ctx_get (context, ZMQ_MAX_SOCKETS); int max_sockets = zmq_ctx_get (context, ZMQ_MAX_SOCKETS);
assert (max_sockets == 256); assert (max_sockets == 256);
---- ----
......
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