1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-18 01:28:42 +00:00

FS-10084 [mod_v8] Fixed incorrect variable name

This commit is contained in:
Nicholas Blasgen 2017-04-01 05:29:21 +00:00
parent 2fe107aca9
commit d9c6ebc803

@ -338,7 +338,7 @@ JS_EVENTHANDLER_FUNCTION_IMPL(GetEvent)
}
} else if (timeout < 0) {
if (switch_queue_pop(_event_queue, &pop) == SWITCH_STATUS_SUCCESS && pop) {
prevent = (switch_event_t *) pop;
pevent = (switch_event_t *) pop;
}
} else {
if (switch_queue_trypop(_event_queue, &pop) == SWITCH_STATUS_SUCCESS && pop) {