diff options
| author | 2023-04-14 09:34:01 +0200 | |
|---|---|---|
| committer | 2023-04-14 09:34:01 +0200 | |
| commit | 995fd81e48c67c8677a7cfc1d86c08d15cf2a1e0 (patch) | |
| tree | e3c1fb24937ee78d582fd4e2eb9002ce3f66a5af /data.c | |
| parent | Updated TODO. (diff) | |
| download | snac2-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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; |