diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -175,7 +175,7 @@ int main(int argc, char *argv[]) | |||
| 175 | xs *msg = msg_admiration(&snac, url, "Announce"); | 175 | xs *msg = msg_admiration(&snac, url, "Announce"); |
| 176 | 176 | ||
| 177 | if (msg != NULL) { | 177 | if (msg != NULL) { |
| 178 | post(&snac, msg); | 178 | enqueue_message(&snac, msg); |
| 179 | 179 | ||
| 180 | if (dbglevel) { | 180 | if (dbglevel) { |
| 181 | xs *j = xs_json_dumps_pp(msg, 4); | 181 | xs *j = xs_json_dumps_pp(msg, 4); |
| @@ -290,7 +290,7 @@ int main(int argc, char *argv[]) | |||
| 290 | printf("%s\n", j); | 290 | printf("%s\n", j); |
| 291 | } | 291 | } |
| 292 | 292 | ||
| 293 | post(&snac, c_msg); | 293 | enqueue_message(&snac, c_msg); |
| 294 | 294 | ||
| 295 | timeline_add(&snac, xs_dict_get(msg, "id"), msg, in_reply_to, NULL); | 295 | timeline_add(&snac, xs_dict_get(msg, "id"), msg, in_reply_to, NULL); |
| 296 | 296 | ||