Skip to content

Commit

Permalink
fix minor typo in zmq_ctx_get doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
calid authored and hintjens committed Oct 4, 2013
1 parent a69fa9e commit 9da52dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/zmq_ctx_get.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ EXAMPLE
.Setting a limit on the number of sockets
----
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);
assert (max_sockets == 256);
----
Expand Down

0 comments on commit 9da52dd

Please sign in to comment.