Commits (2)
...@@ -661,14 +661,13 @@ int main(int argc, char **argv) ...@@ -661,14 +661,13 @@ int main(int argc, char **argv)
printf("extaux=%"PRIu32"\n",node.extaux); printf("extaux=%"PRIu32"\n",node.extaux);
} /* debug */ } /* debug */
} /* if(!node_num) */
if(pause) { if(pause) {
printf("Hit enter..."); printf("Hit enter...");
getchar(); getchar();
printf("\n"); printf("\n");
} }
} /* if(!node_num) */
if(!loop) if(!loop)
break; break;
SLEEP(1000); SLEEP(1000);
......
...@@ -1196,7 +1196,7 @@ void sbbs_t::time_bank(void) ...@@ -1196,7 +1196,7 @@ void sbbs_t::time_bank(void)
if(s>0) { if(s>0) {
logline(" ","Credit to Minute Conversion"); logline(" ","Credit to Minute Conversion");
useron.cdt=adjustuserrec(&cfg,useron.number,U_CDT,10,-(s*102400L)); useron.cdt=adjustuserrec(&cfg,useron.number,U_CDT,10,-(s*102400L));
useron.min=adjustuserrec(&cfg,useron.number,U_MIN,10,s*cfg.cdt_min_value); useron.min=adjustuserrec(&cfg,useron.number,U_MIN,10,s*(int)cfg.cdt_min_value);
sprintf(str,"Credit Adjustment: %ld",-(s*102400L)); sprintf(str,"Credit Adjustment: %ld",-(s*102400L));
logline("$-",str); logline("$-",str);
sprintf(str,"Minute Adjustment: %u",s*cfg.cdt_min_value); sprintf(str,"Minute Adjustment: %u",s*cfg.cdt_min_value);
......