diff options
author | default <nobody@localhost> | 2023-04-12 10:41:15 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-04-12 10:41:15 +0200 |
commit | 885031bed9e54876fb262921b11df23aa00cedb6 (patch) | |
tree | a1541acecaa547b5a637600d76e8a0df1fde6225 /snac.h | |
parent | aa86357237822b4b988fb24e05c36d12308aa2e0 (diff) |
Don't generate invalid JSON if an attachment has no description.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ void srv_archive(const char *direction, const char *url, xs_dict *req, int status, xs_dict *headers, const char *body, int b_size); void srv_archive_error(const char *prefix, const xs_str *err, - const xs_dict *req, const xs_dict *data); + const xs_dict *req, const xs_val *data); double mtime_nl(const char *fn, int *n_link); #define mtime(fn) mtime_nl(fn, NULL) |