]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10084 [mod_v8] Fixed incorrect variable name
authorNicholas Blasgen <nicholas@blasgen.com>
Sat, 1 Apr 2017 05:29:21 +0000 (05:29 +0000)
committerNicholas Blasgen <nicholas@blasgen.com>
Sat, 1 Apr 2017 05:29:21 +0000 (05:29 +0000)
src/mod/languages/mod_v8/src/fseventhandler.cpp

index bff9f1db1b8b60535fd21685c1c14f4fdee99127..e4e256e689ac836012e276465d33e3e7dafdde8e 100644 (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) {