Skip to content
Snippets Groups Projects
Commit 9b8d3c0c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix typo in exception message about getnodedat() failure

parent c142191d
No related branches found
No related tags found
No related merge requests found
......@@ -1551,7 +1551,7 @@ js_get_node(JSContext *cx, uintN argc, jsval *arglist)
sys->nodegets++;
JS_RESUMEREQUEST(cx, rc);
if (retval != 0) {
JS_ReportError(cx, "getnodat(%d) returned %d", node_num, retval);
JS_ReportError(cx, "getnodedat(%d) returned %d", node_num, retval);
return JS_FALSE;
}
if ((nodeobj = JS_NewObject(cx, NULL, NULL, obj)) == NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment