diff options
| author | 2023-05-04 09:34:33 +0200 | |
|---|---|---|
| committer | 2023-05-04 09:34:33 +0200 | |
| commit | 980a8d524fae11d17366e7aea56206d13f278e31 (patch) | |
| tree | fc1a9f5dda124faaea7bda62b867667b81edf5f5 /activitypub.c | |
| parent | Added -Wextra to C flags. (diff) | |
| download | snac2-980a8d524fae11d17366e7aea56206d13f278e31.tar.gz snac2-980a8d524fae11d17366e7aea56206d13f278e31.tar.xz snac2-980a8d524fae11d17366e7aea56206d13f278e31.zip | |
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) | |||
| 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 | } |