From 7413afe6d6c43ada7f6ecbbeec8846750cb8654c Mon Sep 17 00:00:00 2001 From: Aleksandar J Date: Sat, 2 Aug 2014 18:42:24 -0400 Subject: [PATCH] Corrected typo in ZMQ_STREAM example --- doc/zmq_socket.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/zmq_socket.txt b/doc/zmq_socket.txt index 2eab0fd7..25c60660 100644 --- a/doc/zmq_socket.txt +++ b/doc/zmq_socket.txt @@ -404,7 +404,7 @@ uint8_t id [256]; size_t id_size = 256; while (1) { /* 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); /* Prepares the response */ char http_response [] =