mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 12:18:04 +01:00
Merge pull request #1779 from obache/neatsrc/fix-a-typo-for-ZMTP-heartbeats
Fix a typo in "Add ZMTP heartbeats" changes
This commit is contained in:
@@ -80,7 +80,7 @@ int zmq::gssapi_mechanism_base_t::encode_message (msg_t *msg_)
|
|||||||
uint8_t flags = 0;
|
uint8_t flags = 0;
|
||||||
if (msg_->flags () & msg_t::more)
|
if (msg_->flags () & msg_t::more)
|
||||||
flags |= 0x01;
|
flags |= 0x01;
|
||||||
if (msg ->flags () & msg_t::command)
|
if (msg_->flags () & msg_t::command)
|
||||||
flags |= 0x02;
|
flags |= 0x02;
|
||||||
|
|
||||||
uint8_t *plaintext_buffer = static_cast <uint8_t *>(malloc(msg_->size ()+1));
|
uint8_t *plaintext_buffer = static_cast <uint8_t *>(malloc(msg_->size ()+1));
|
||||||
|
|||||||
Reference in New Issue
Block a user