snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit d4ec39da72e9ef568ca199081401d3dae8eceaa6
parent 30323616cb2f34d177a079189a6763cd43c050d6
Author: default <nobody@localhost>
Date:   Sat, 19 Oct 2024 21:28:11 +0200

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

Diffstat:
Mdata.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

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