0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-14 09:47:56 +08:00

Fixed compile errors in test_stream

This commit is contained in:
Pieter Hintjens 2015-07-20 09:04:40 +02:00
parent 92c4decb69
commit 11fba2b813

View File

@ -195,7 +195,7 @@ test_stream_to_dealer (void)
assert (memcmp (buffer, "World", 5) == 0);
// Test large messages over STREAM socket
int size = 64000;
# define size 64000
uint8_t msgout [size];
memset (msgout, 0xAB, size);
zmq_send (dealer, msgout, size, 0);