FS-10084 [mod_v8] Fixed incorrect variable name
This commit is contained in:
parent
2fe107aca9
commit
d9c6ebc803
|
@ -338,7 +338,7 @@ JS_EVENTHANDLER_FUNCTION_IMPL(GetEvent)
|
||||||
}
|
}
|
||||||
} else if (timeout < 0) {
|
} else if (timeout < 0) {
|
||||||
if (switch_queue_pop(_event_queue, &pop) == SWITCH_STATUS_SUCCESS && pop) {
|
if (switch_queue_pop(_event_queue, &pop) == SWITCH_STATUS_SUCCESS && pop) {
|
||||||
prevent = (switch_event_t *) pop;
|
pevent = (switch_event_t *) pop;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (switch_queue_trypop(_event_queue, &pop) == SWITCH_STATUS_SUCCESS && pop) {
|
if (switch_queue_trypop(_event_queue, &pop) == SWITCH_STATUS_SUCCESS && pop) {
|
||||||
|
|
Loading…
Reference in New Issue