Explorar el Código

Return an empty list in list_timeline() if (still) there is no list timeline.

default hace 1 año
padre
commit
d4ec39da72
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      data.c

+ 2 - 0
data.c

@@ -2085,6 +2085,8 @@ xs_list *list_timeline(snac *user, const char *list, int skip, int show)
 
 
     if (mtime(fn) > 0.0)
     if (mtime(fn) > 0.0)
         l = index_list_desc(fn, skip, show);
         l = index_list_desc(fn, skip, show);
+    else
+        l = xs_list_new();
 
 
     return l;
     return l;
 }
 }