Commit 6ce46441 authored by Matt Arsenault's avatar Matt Arsenault Committed by Matt Arsenault

Fix typos

parent f770954d
...@@ -664,7 +664,7 @@ int zmq::socket_base_t::send (msg_t *msg_, int flags_) ...@@ -664,7 +664,7 @@ int zmq::socket_base_t::send (msg_t *msg_, int flags_)
return -1; return -1;
// Compute the time when the timeout should occur. // Compute the time when the timeout should occur.
// If the timeout is infite, don't care. // If the timeout is infinite, don't care.
int timeout = options.sndtimeo; int timeout = options.sndtimeo;
uint64_t end = timeout < 0 ? 0 : (clock.now_ms () + timeout); uint64_t end = timeout < 0 ? 0 : (clock.now_ms () + timeout);
...@@ -746,7 +746,7 @@ int zmq::socket_base_t::recv (msg_t *msg_, int flags_) ...@@ -746,7 +746,7 @@ int zmq::socket_base_t::recv (msg_t *msg_, int flags_)
} }
// Compute the time when the timeout should occur. // Compute the time when the timeout should occur.
// If the timeout is infite, don't care. // If the timeout is infinite, don't care.
int timeout = options.rcvtimeo; int timeout = options.rcvtimeo;
uint64_t end = timeout < 0 ? 0 : (clock.now_ms () + timeout); uint64_t end = timeout < 0 ? 0 : (clock.now_ms () + timeout);
......
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