mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 18:55:10 +01:00
Fixing incorrect argument order on va_start
Compile was failing on the monitor_event function function due to the va_start params being switched.
This commit is contained in:
parent
4a43a0d074
commit
8bf541b252
@ -356,7 +356,7 @@ zmq::endpoint_t zmq::ctx_t::find_endpoint (const char *addr_)
|
||||
void zmq::ctx_t::monitor_event (zmq::socket_base_t *socket_, int event_, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start (event_, args);
|
||||
va_start (args, event_);
|
||||
va_monitor_event (socket_, event_, args);
|
||||
va_end (args);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user