summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorGravatar default2023-04-14 09:34:01 +0200
committerGravatar default2023-04-14 09:34:01 +0200
commit995fd81e48c67c8677a7cfc1d86c08d15cf2a1e0 (patch)
treee3c1fb24937ee78d582fd4e2eb9002ce3f66a5af /data.c
parentUpdated TODO. (diff)
downloadsnac2-995fd81e48c67c8677a7cfc1d86c08d15cf2a1e0.tar.gz
snac2-995fd81e48c67c8677a7cfc1d86c08d15cf2a1e0.tar.xz
snac2-995fd81e48c67c8677a7cfc1d86c08d15cf2a1e0.zip
notify_list() returns the notifications in reverse order.
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index f54f082..7071097 100644
--- a/data.c
+++ b/data.c
@@ -1567,7 +1567,7 @@ xs_list *notify_list(snac *snac, int new_only)
1567 t = notify_check_time(snac, 0); 1567 t = notify_check_time(snac, 0);
1568 1568
1569 xs *spec = xs_fmt("%s/notify/" "*.json", snac->basedir); 1569 xs *spec = xs_fmt("%s/notify/" "*.json", snac->basedir);
1570 xs *lst = xs_glob(spec, 1, 0); 1570 xs *lst = xs_glob(spec, 1, 1);
1571 xs_list *out = xs_list_new(); 1571 xs_list *out = xs_list_new();
1572 xs_list *p = lst; 1572 xs_list *p = lst;
1573 xs_str *v; 1573 xs_str *v;