diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index c25b733..0d5439d 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1384,8 +1384,9 @@ void process_queue_item(xs_dict *q_item) | |||
| 1384 | xs *headers = xs_dict_new(); | 1384 | xs *headers = xs_dict_new(); |
| 1385 | headers = xs_dict_append(headers, "content-type", "application/json"); | 1385 | headers = xs_dict_append(headers, "content-type", "application/json"); |
| 1386 | 1386 | ||
| 1387 | xs *rsp = xs_http_request("POST", url, headers, | 1387 | xs *rsp = xs_http_request("POST", url, headers, |
| 1388 | body, strlen(body), &status, NULL, NULL, 0); | 1388 | body, strlen(body), &status, NULL, NULL, 0); |
| 1389 | rsp = xs_free(rsp); | ||
| 1389 | 1390 | ||
| 1390 | srv_debug(0, xs_fmt("telegram post %d", status)); | 1391 | srv_debug(0, xs_fmt("telegram post %d", status)); |
| 1391 | } | 1392 | } |