mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00:00
Merge pull request #90 from vogonsoft/master
Corrected typo in ZMQ_STREAM example
This commit is contained in:
commit
ce75ea7448
@ -404,7 +404,7 @@ uint8_t id [256];
|
|||||||
size_t id_size = 256;
|
size_t id_size = 256;
|
||||||
while (1) {
|
while (1) {
|
||||||
/* Get HTTP request; ID frame and then request */
|
/* Get HTTP request; ID frame and then request */
|
||||||
id_size = zmq_recv (server, id, 256, 0);
|
id_size = zmq_recv (socket, id, 256, 0);
|
||||||
assert (id_size > 0);
|
assert (id_size > 0);
|
||||||
/* Prepares the response */
|
/* Prepares the response */
|
||||||
char http_response [] =
|
char http_response [] =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user