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:
parent
bd4a76cc2a
commit
c01365d486
@ -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);
|
||||
----
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user