Incorrect var name in monitor_event

The call to the va version of the function was using 'event' instead of
'event_'
This commit is contained in:
Ian Barber 2012-08-26 14:27:12 +01:00
parent 8bf541b252
commit f028379c1c

View File

@ -1001,7 +1001,7 @@ void zmq::socket_base_t::monitor_event (int event_, ...)
{ {
va_list args; va_list args;
va_start (args, event_); va_start (args, event_);
va_monitor_event(event, args); va_monitor_event(event_, args);
va_end (args); va_end (args);
} }