From e23d3963d337985c80523327a29480625a009d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uli=20K=C3=B6hler?= Date: Sat, 17 Aug 2013 20:39:10 +0200 Subject: [PATCH] Fix doc typo --- doc/zmq_send_const.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/zmq_send_const.txt b/doc/zmq_send_const.txt index 933c3752..5af0bc92 100644 --- a/doc/zmq_send_const.txt +++ b/doc/zmq_send_const.txt @@ -58,9 +58,9 @@ ERRORS *EAGAIN*:: Non-blocking mode was requested and the message cannot be sent at the moment. *ENOTSUP*:: -The _zmq_send_send()_ operation is not supported by this socket type. +The _zmq_send_const()_ operation is not supported by this socket type. *EFSM*:: -The _zmq_send_send()_ operation cannot be performed on this socket at the moment +The _zmq_send_const()_ operation cannot be performed on this socket at the moment due to the socket not being in the appropriate state. This error may occur with socket types that switch between several states, such as ZMQ_REP. See the _messaging patterns_ section of linkzmq:zmq_socket[3] for more information. @@ -82,7 +82,7 @@ EXAMPLE /* Send a multi-part message consisting of three parts to socket */ rc = zmq_send_const (socket, "ABC", 3, ZMQ_SNDMORE); assert (rc == 3); -rc = zmq_send_send (socket, "DEFGH", 5, ZMQ_SNDMORE); +rc = zmq_send_const (socket, "DEFGH", 5, ZMQ_SNDMORE); assert (rc == 5); /* Final part; no more parts to follow */ rc = zmq_send_const (socket, "JK", 2, 0);