diff options
| -rw-r--r-- | utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -766,6 +766,9 @@ void export_posts(snac *user) | |||
| 766 | if (!xs_is_string(atto) || strcmp(atto, user->actor)) | 766 | if (!xs_is_string(atto) || strcmp(atto, user->actor)) |
| 767 | continue; | 767 | continue; |
| 768 | 768 | ||
| 769 | if (cnt) | ||
| 770 | fprintf(f, ","); | ||
| 771 | |||
| 769 | xs *c_msg = msg_create(user, obj); | 772 | xs *c_msg = msg_create(user, obj); |
| 770 | xs_json_dump(c_msg, 0, f); | 773 | xs_json_dump(c_msg, 0, f); |
| 771 | cnt++; | 774 | cnt++; |