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

Fix CID 511447 with extra parens

parent cbe24515
No related branches found
No related tags found
No related merge requests found
......@@ -2331,7 +2331,7 @@ js_xfer_prot_menu(JSContext *cx, uintN argc, jsval *arglist)
if(argc > 0 && argv[0] == JSVAL_TRUE)
xfer_type = XFER_BATCH_UPLOAD;
if(argc > 1 && argv[1] == JSVAL_TRUE)
xfer_type = (xfer_type == XFER_UPLOAD) ? XFER_BATCH_UPLOAD : XFER_BATCH_DOWNLOAD;
xfer_type = ((xfer_type == XFER_UPLOAD) ? XFER_BATCH_UPLOAD : XFER_BATCH_DOWNLOAD);
rc=JS_SUSPENDREQUEST(cx);
sbbs->xfer_prot_menu(xfer_type, &sbbs->useron, keys, sizeof keys);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment