diff options
author | default <nobody@localhost> | 2023-05-04 09:34:33 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-05-04 09:34:33 +0200 |
commit | 980a8d524fae11d17366e7aea56206d13f278e31 (patch) | |
tree | fc1a9f5dda124faaea7bda62b867667b81edf5f5 /activitypub.c | |
parent | 185aac23876f9ae5d9b613f8b9abd517c3ab3b4d (diff) |
Fixed more warnings.
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) xs *headers = xs_dict_new(); headers = xs_dict_append(headers, "content-type", "application/json"); - xs *rsp = xs_http_request("POST", url, headers, + xs *rsp = xs_http_request("POST", url, headers, body, strlen(body), &status, NULL, NULL, 0); + rsp = xs_free(rsp); srv_debug(0, xs_fmt("telegram post %d", status)); } |