summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPieter Hintjens <ph@imatix.com>2011-04-11 12:14:00 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-04-11 12:14:00 +0200
commita3b49ca958be908b88b17ecc946006dccfbd2a75 (patch)
tree79928e643e8f65865275390ee656a5bd76b11f34 /doc
parent0839cceac9dd29cc64cd9a634b9d3340cfbf3bbe (diff)
Fixed example
Signed-off-by: Pieter Hintjens <ph@imatix.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/zmq_getsockopt.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/zmq_getsockopt.txt b/doc/zmq_getsockopt.txt
index 926cf32..9d67ce2 100644
--- a/doc/zmq_getsockopt.txt
+++ b/doc/zmq_getsockopt.txt
@@ -367,9 +367,9 @@ The operation was interrupted by delivery of a signal.
EXAMPLE
-------
-.Retrieving the high water mark
+.Retrieving the high water mark for outgoing messages
----
-/* Retrieve high water mark into hwm */
+/* Retrieve high water mark into sndhwm */
int sndhwm;
size_t sndhwm_size = sizeof (sndhwm);
rc = zmq_getsockopt (socket, ZMQ_SNDHWM, &sndhwm, &sndhwm_size);