Subj : src/sbbs3/scfglib.h scfglib1.c To : Git commit to main/sbbs/master From : Rob Swindell Date : Sun Mar 20 2022 08:32 pm https://gitlab.synchro.net/main/sbbs/-/commit/a466152f730d99d496b04ce1 Modified Files: src/sbbs3/scfglib.h scfglib1.c Log Message: Create some convenience functions for validating lib/dir/grp/sub nums There are lot of places in the code where subnums and dirnums (especially) are compared against total_subs and/or total_dirs or >= 0 without a ton of consistency. We should migrate to use these functions for validity-checking going forward. .