From 0b4ce808536efdf1ac66a0c2661f90f06f0aa025 Mon Sep 17 00:00:00 2001 From: Dylan Cali Date: Wed, 2 Oct 2013 02:59:44 -0500 Subject: [PATCH] fix minor typo in zmq_ctx_get doc example --- doc/zmq_ctx_get.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/zmq_ctx_get.txt b/doc/zmq_ctx_get.txt index 47fef524..980a2a90 100644 --- a/doc/zmq_ctx_get.txt +++ b/doc/zmq_ctx_get.txt @@ -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); ----