Commit 8bf541b2 authored by Ian Barber's avatar Ian Barber

Fixing incorrect argument order on va_start

Compile was failing on the monitor_event function function due to the
va_start params being switched.
parent 4a43a0d0
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment