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
1 changed files with 1 additions and 1 deletions

View File

@ -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) {