Commit 34801e27 authored by Deucе's avatar Deucе 👌🏾

Fix previous commit.

Copy/paste without the update required a single character to have
seven different values... which is unlikely to actually happen.
parent bf6e2f05
Pipeline #691 passed with stage
in 17 minutes and 24 seconds
......@@ -634,12 +634,12 @@ js_on_exit(JSContext *cx, uintN argc, jsval *arglist)
}
else {
if (oep->signature[0] != 'o'
|| oep->signature[0] != 'n'
|| oep->signature[0] != 'e'
|| oep->signature[0] != 'x'
|| oep->signature[0] != 'i'
|| oep->signature[0] != 't'
|| oep->signature[0] != 0) {
|| oep->signature[1] != 'n'
|| oep->signature[2] != 'e'
|| oep->signature[3] != 'x'
|| oep->signature[4] != 'i'
|| oep->signature[5] != 't'
|| oep->signature[6] != 0) {
JS_ReportError(cx, "on_exit not available in %s scopes", JS_GetClass(cx, scope)->name);
return JS_FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment