...
 
Commits (3)
......@@ -477,11 +477,6 @@ js_cryptkeyset_constructor(JSContext *cx, uintN argc, jsval *arglist)
}
memset(p,0,sizeof(struct private_data));
if(!JS_SetPrivate(cx, obj, p)) {
JS_ReportError(cx,"JS_SetPrivate failed");
return(JS_FALSE);
}
JSSTRING_TO_MSTRING(cx, fn, p->name, &fnslen);
if (p->name == NULL) {
free(p);
......@@ -497,6 +492,11 @@ js_cryptkeyset_constructor(JSContext *cx, uintN argc, jsval *arglist)
return JS_FALSE;
}
if(!JS_SetPrivate(cx, obj, p)) {
JS_ReportError(cx,"JS_SetPrivate failed");
return(JS_FALSE);
}
#ifdef BUILD_JSDOCS
js_DescribeSyncObject(cx,obj,"Class used for storing CryptContext keys",31601);
js_DescribeSyncConstructor(cx,obj,"To create a new CryptKeyset object: "
......
......@@ -233,7 +233,7 @@ bool sbbs_t::logon()
batch_add_list(str);
if(!(sys_status&SS_QWKLOGON)) { /* QWK Nodes don't go through this */
if(cfg.sys_pwdays
if(cfg.sys_pwdays && useron.pass[0]
&& (ulong)logontime>(useron.pwmod+((ulong)cfg.sys_pwdays*24UL*60UL*60UL))) {
bprintf(text[TimeToChangePw],cfg.sys_pwdays);
......
......@@ -1505,7 +1505,8 @@ void sub_cfg(uint grpnum)
"`Sub-board Semaphore File:`\n"
"\n"
"This is a filename that will be created as a semaphore (signal) to an\n"
"external program or event whenever a message is posted in this sub-board.\n"
"external program or event whenever a message is posted in this\n"
"sub-board.\n"
;
uifc.input(WIN_MID|WIN_SAV,0,17,"Semaphore File"
,cfg.sub[i]->post_sem,sizeof(cfg.sub[i]->post_sem)-1,K_EDIT);
......