From ea011a33de9474c8fd485b470c3de11997f9e6ab Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Fri, 7 Nov 2014 22:30:15 -0800 Subject: [PATCH] Fix typos. --- doc/zmq_getsockopt.txt | 2 +- doc/zmq_gssapi.txt | 4 ++-- doc/zmq_setsockopt.txt | 6 +++--- doc/zmq_socket_monitor.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/zmq_getsockopt.txt b/doc/zmq_getsockopt.txt index 3732cd24..d2732a04 100644 --- a/doc/zmq_getsockopt.txt +++ b/doc/zmq_getsockopt.txt @@ -676,7 +676,7 @@ Option value unit:: N/A Default value:: not set Applicable socket types:: all, when using TCP transport -ZMQ_IDENTITY_FD: Retrieve FD associated with igven identity +ZMQ_IDENTITY_FD: Retrieve FD associated with given identity ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The 'ZMQ_IDENTITY_FD' option shall retrieve the FD associated with given identity. diff --git a/doc/zmq_gssapi.txt b/doc/zmq_gssapi.txt index 82e90ca1..8268cc3b 100644 --- a/doc/zmq_gssapi.txt +++ b/doc/zmq_gssapi.txt @@ -23,10 +23,10 @@ CLIENT AND SERVER ROLES A socket using GSSAPI can be either client or server, but not both. To become either a GSSAPI client or server, the application sets the -ZMQ_GSSAPI_PRINCIPAL option to provide the socket with the name of the pricipal +ZMQ_GSSAPI_PRINCIPAL option to provide the socket with the name of the principal for whom GSSAPI credentials should be acquired. -To become a GSSAPI server, the application addtionally sets the +To become a GSSAPI server, the application additionally sets the ZMQ_GSSAPI_SERVER option on the socket. To become a GSSAPI client, the application sets additionally sets the diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index e2124dc1..d9c04386 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -197,7 +197,7 @@ Applicable socket types:: all, when using TCP transport ZMQ_GSSAPI_PRINCIPAL: Set name of GSSAPI principal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Sets the name of the pricipal for whom GSSAPI credentials should be acquired. +Sets the name of the principal for whom GSSAPI credentials should be acquired. [horizontal] Option value type:: character string @@ -221,7 +221,7 @@ Applicable socket types:: all, when using TCP transport ZMQ_GSSAPI_SERVICE_PRINCIPAL: Set name of GSSAPI service principal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Sets the name of the pricipal of the GSSAPI server to which a GSSAPI client +Sets the name of the principal of the GSSAPI server to which a GSSAPI client intends to connect. [horizontal] @@ -743,7 +743,7 @@ ZMQ_TOS: Set the Type-of-Service on socket Sets the ToS fields (Differentiated services (DS) and Explicit Congestion Notification (ECN) field of the IP header. The ToS field is typically used to specify a packets priority. The availability of this option is dependent -on intermediate network equipment that inspect the ToS field andprovide a +on intermediate network equipment that inspect the ToS field and provide a path for low-delay, high-throughput, highly-reliable service, etc. [horizontal] diff --git a/doc/zmq_socket_monitor.txt b/doc/zmq_socket_monitor.txt index ec6028ef..ffee2abb 100644 --- a/doc/zmq_socket_monitor.txt +++ b/doc/zmq_socket_monitor.txt @@ -131,7 +131,7 @@ get_monitor_event (void *monitor, int *value, char **address) zmq_msg_t msg; zmq_msg_init (&msg); if (zmq_msg_recv (&msg, monitor, 0) == -1) - return -1; // Interruped, presumably + return -1; // Interrupted, presumably assert (zmq_msg_more (&msg)); uint8_t *data = (uint8_t *) zmq_msg_data (&msg); @@ -142,7 +142,7 @@ get_monitor_event (void *monitor, int *value, char **address) // Second frame in message contains event address zmq_msg_init (&msg); if (zmq_msg_recv (&msg, monitor, 0) == -1) - return -1; // Interruped, presumably + return -1; // Interrupted, presumably assert (!zmq_msg_more (&msg)); if (address) {