Added maximum news articles limit

This commit is contained in:
Michiel Broek
2002-01-14 19:19:17 +00:00
parent ef2522796a
commit 1b9fa1f09b
4 changed files with 108 additions and 42 deletions

View File

@@ -402,6 +402,8 @@ void load_maincfg(void)
sprintf(CFG.www_name_next, "Next page");
CFG.www_files_page = 10;
CFG.maxarticles = 500;
if ((fp = fopen(cfgfn, "a+")) == NULL) {
perror("");
fprintf(stderr, "Can't create %s\n", cfgfn);