Rename getline function to unsafe, to make it greppable.
Now i can trim them one-by-one.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user