diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index a0b33ee..0ee0bf6 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -123,7 +123,7 @@ int send_to_inbox(snac *snac, char *inbox, char *msg, d_char **payload, int *p_s | |||
| 123 | response = http_signed_request(snac, "POST", inbox, | 123 | response = http_signed_request(snac, "POST", inbox, |
| 124 | NULL, j_msg, strlen(j_msg), &status, payload, p_size); | 124 | NULL, j_msg, strlen(j_msg), &status, payload, p_size); |
| 125 | 125 | ||
| 126 | free(response); | 126 | xs_free(response); |
| 127 | 127 | ||
| 128 | return status; | 128 | return status; |
| 129 | } | 129 | } |
| @@ -553,7 +553,7 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char | |||
| 553 | 553 | ||
| 554 | /* if this message is public, ours will also be */ | 554 | /* if this message is public, ours will also be */ |
| 555 | if (is_msg_public(snac, p_msg) && | 555 | if (is_msg_public(snac, p_msg) && |
| 556 | xs_list_in(to, (char *)public_address) == -1) | 556 | xs_list_in(to, public_address) == -1) |
| 557 | to = xs_list_append(to, public_address); | 557 | to = xs_list_append(to, public_address); |
| 558 | } | 558 | } |
| 559 | 559 | ||