42eb413c91
Specifically, change the www_last10 HTML rendering logic to use stralloc and strftime(). This eliminates a lot of duplication. It would be easier to test this with a unit test if the logic of reading the last10 entries from a file were separated from the HTML rendering logic. An area for future enhancement. Also start in on www_email.c, which is the last bastion of significant realloc() use for page generation. An explicit goal is to get rid of unsafe string handling functions such as strcpy, strcat, sprintf, etc. Signed-off-by: Dan Cross <patchdev@fat-dragon.org> |
||
---|---|---|
deps | ||
dist | ||
docs | ||
src | ||
utils | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
file_id.diz | ||
GNUmakefile | ||
LICENSE.txt | ||
README.md | ||
setup.sh | ||
STRINGS.CHANGES |
MagickaBBS
A Bulletin Board System for UN*X like platforms.
For documentation, see http://docs.magickabbs.com/