...
 
Commits (3)
......@@ -3464,6 +3464,7 @@ JSObject* DLLCALL js_CreateMsgBaseClass(JSContext* cx, JSObject* parent, scfg_t*
js_DescribeSyncObject(cx, pobj, "Prototype for all header objects. Can be used to extend these objects.",317);
}
#endif
(void)pobj;
}
return(obj);
......
......@@ -3058,6 +3058,7 @@ JSObject* DLLCALL js_CreateSocketClass(JSContext* cx, JSObject* parent)
,NULL /* props, specified in constructor */
,NULL /* funcs, specified in constructor */
,NULL,NULL);
(void)csockobj;
lsockobj = JS_InitClass(cx, parent, sockproto
,&js_listening_socket_class
,js_listening_socket_constructor
......@@ -3065,6 +3066,7 @@ JSObject* DLLCALL js_CreateSocketClass(JSContext* cx, JSObject* parent)
,NULL /* props, specified in constructor */
,NULL /* funcs, specified in constructor */
,NULL,NULL);
(void)lsockobj;
return(sockobj);
}
......
......@@ -317,6 +317,8 @@ bool sbbs_t::menu_exists(const char *code, const char* ext, char* path)
else {
backslash(menu_dir);
SAFEPRINTF3(prefix, "%smenu/%s%s", cfg.text_dir, menu_dir, code);
FULLPATH(path, prefix, MAX_PATH);
SAFECOPY(prefix, path);
}
safe_snprintf(path, MAX_PATH, "%s.%lucol.%s", prefix, cols, ext);
if(fexistcase(path))
......