diff options
| author | 2025-02-06 10:56:21 +0100 | |
|---|---|---|
| committer | 2025-02-06 10:56:21 +0100 | |
| commit | 22a23dbdd1fca4695c012c31d5e5502f38212ed8 (patch) | |
| tree | c96d2ddafca94527f536398b4c5e44eb44211d54 /data.c | |
| parent | Fixed bug in xs_httpd_request(). (diff) | |
| download | penes-snac2-22a23dbdd1fca4695c012c31d5e5502f38212ed8.tar.gz penes-snac2-22a23dbdd1fca4695c012c31d5e5502f38212ed8.tar.xz penes-snac2-22a23dbdd1fca4695c012c31d5e5502f38212ed8.zip | |
Minor tweak to inbox_list().
Diffstat (limited to '')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2601,7 +2601,7 @@ xs_list *inbox_list(void) | |||
| 2601 | if ((f = fopen(v, "r")) != NULL) { | 2601 | if ((f = fopen(v, "r")) != NULL) { |
| 2602 | xs *line = xs_readline(f); | 2602 | xs *line = xs_readline(f); |
| 2603 | 2603 | ||
| 2604 | if (line) { | 2604 | if (line && *line) { |
| 2605 | line = xs_strip_i(line); | 2605 | line = xs_strip_i(line); |
| 2606 | ibl = xs_list_append(ibl, line); | 2606 | ibl = xs_list_append(ibl, line); |
| 2607 | } | 2607 | } |