0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 23:51:04 +08: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:
Pieter Hintjens 2016-02-07 10:31:33 +01:00
commit 07cba2307d

View File

@ -80,7 +80,7 @@ int zmq::gssapi_mechanism_base_t::encode_message (msg_t *msg_)
uint8_t flags = 0;
if (msg_->flags () & msg_t::more)
flags |= 0x01;
if (msg ->flags () & msg_t::command)
if (msg_->flags () & msg_t::command)
flags |= 0x02;
uint8_t *plaintext_buffer = static_cast <uint8_t *>(malloc(msg_->size ()+1));