commit 8fdfb5b

grunfink  ·  2025-06-19 17:31:42 +0000 UTC
parent a07458f
Fixed bug in export_posts().
1 files changed,  +3, -0
+3, -0
 1@@ -766,6 +766,9 @@ void export_posts(snac *user)
 2         if (!xs_is_string(atto) || strcmp(atto, user->actor))
 3             continue;
 4 
 5+        if (cnt)
 6+            fprintf(f, ",");
 7+
 8         xs *c_msg = msg_create(user, obj);
 9         xs_json_dump(c_msg, 0, f);
10         cnt++;