Skip to content
Snippets Groups Projects
Commit 232d0f92 authored by rswindell's avatar rswindell
Browse files

Fixed suspicious pointer conversion.

parent 271b35b9
No related branches found
No related tags found
No related merge requests found
......@@ -330,7 +330,7 @@ js_login(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
}
if(argc>2)
JS_ValueToInt32(cx,argv[2],&inc_logons);
JS_ValueToBoolean(cx,argv[2],&inc_logons);
if(client->client!=NULL) {
SAFECOPY(user.note,client->client->addr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment