0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 23:51:04 +08:00

Fixed man page example

This commit is contained in:
Pieter Hintjens 2014-05-02 23:13:11 +02:00
parent bd4a76cc2a
commit c01365d486

View File

@ -43,7 +43,7 @@ zmq_msg_t msg;
zmq_msg_init (&msg);
rc = zmq_msg_recv (&msg, dealer, 0);
assert (rc != -1);
char *user_id = zmq_msg_gets (&msg, "User-Id");
const char *user_id = zmq_msg_gets (&msg, "User-Id");
zmq_msg_close (&msg);
----