Rename getline function to unsafe, to make it greppable.

Now i can trim them one-by-one.
This commit is contained in:
2025-08-23 02:20:05 -04:00
parent f283391b46
commit 412adaa492
11 changed files with 27 additions and 26 deletions

View File

@ -628,7 +628,7 @@ static int Bms_load(void)
}
/* load bm file into memory */
while ((buf = dGetline(BmTxt)) != NULL) {
while ((buf = dGetline_unsafe(BmTxt)) != NULL) {
if (buf[0] == 's') {
/* get section, url and title */
section = strtol(buf + 1, NULL, 10);