mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
remove c99 extention from c++11 code
This commit is contained in:
parent
27dda213fe
commit
abf2444f09
@ -124,7 +124,7 @@ const char *cert =
|
||||
|
||||
void test_roundtrip ()
|
||||
{
|
||||
char connect_address[MAX_SOCKET_STRING + strlen ("/roundtrip")];
|
||||
char connect_address[MAX_SOCKET_STRING + sizeof ("/roundtrip") - 1];
|
||||
size_t addr_length = sizeof (connect_address);
|
||||
void *sb = test_context_socket (ZMQ_REP);
|
||||
zmq_setsockopt (sb, ZMQ_WSS_CERT_PEM, cert, strlen (cert));
|
||||
|
Loading…
x
Reference in New Issue
Block a user