Browse Source

Minor tweak to inbox_list().

default 2 months ago
parent
commit
22a23dbdd1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data.c

+ 1 - 1
data.c

@@ -2601,7 +2601,7 @@ xs_list *inbox_list(void)
         if ((f = fopen(v, "r")) != NULL) {
             xs *line = xs_readline(f);
 
-            if (line) {
+            if (line && *line) {
                 line = xs_strip_i(line);
                 ibl  = xs_list_append(ibl, line);
             }