Commit 983eaecc authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #1212 from dstftw/fix-typos

Fix some typos
parents 08d90e8a 76d86c3f
...@@ -388,7 +388,7 @@ void zmq::pipe_t::terminate (bool delay_) ...@@ -388,7 +388,7 @@ void zmq::pipe_t::terminate (bool delay_)
state = term_ack_sent; state = term_ack_sent;
} }
// If there are pending messages still availabe, do nothing. // If there are pending messages still available, do nothing.
else else
if (state == waiting_for_delimiter) { if (state == waiting_for_delimiter) {
} }
......
...@@ -98,10 +98,10 @@ namespace zmq ...@@ -98,10 +98,10 @@ namespace zmq
// Remove unfinished parts of the outbound message from the pipe. // Remove unfinished parts of the outbound message from the pipe.
void rollback (); void rollback ();
// Flush the messages downsteam. // Flush the messages downstream.
void flush (); void flush ();
// Temporaraily disconnects the inbound message stream and drops // Temporarily disconnects the inbound message stream and drops
// all the messages on the fly. Causes 'hiccuped' event to be generated // all the messages on the fly. Causes 'hiccuped' event to be generated
// in the peer. // in the peer.
void hiccup (); void hiccup ();
...@@ -181,7 +181,7 @@ namespace zmq ...@@ -181,7 +181,7 @@ namespace zmq
// active: common state before any termination begins, // active: common state before any termination begins,
// delimiter_received: delimiter was read from pipe before // delimiter_received: delimiter was read from pipe before
// term command was received, // term command was received,
// waiting_fo_delimiter: term command was already received // waiting_for_delimiter: term command was already received
// from the peer but there are still pending messages to read, // from the peer but there are still pending messages to read,
// term_ack_sent: all pending messages were already read and // term_ack_sent: all pending messages were already read and
// all we are waiting for is ack from the peer, // all we are waiting for is ack from the peer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment