From: Nicholas Blasgen Date: Sat, 1 Apr 2017 05:29:21 +0000 (+0000) Subject: FS-10084 [mod_v8] Fixed incorrect variable name X-Git-Tag: v1.8.0~461^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9c6ebc8031ef665f0332b3832030d8cb95b61b7;p=thirdparty%2Ffreeswitch.git FS-10084 [mod_v8] Fixed incorrect variable name --- diff --git a/src/mod/languages/mod_v8/src/fseventhandler.cpp b/src/mod/languages/mod_v8/src/fseventhandler.cpp index bff9f1db1b..e4e256e689 100644 --- a/src/mod/languages/mod_v8/src/fseventhandler.cpp +++ b/src/mod/languages/mod_v8/src/fseventhandler.cpp @@ -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) {