summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--activitypub.c3
-rw-r--r--html.c1
-rw-r--r--mastoapi.c1
3 files changed, 3 insertions, 2 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 }
diff --git a/html.c b/html.c
index 3ebe70d..8d4203d 100644
--- a/html.c
+++ b/html.c
@@ -1282,6 +1282,7 @@ xs_str *html_notifications(snac *snac)
1282 1282
1283 /* set the check time to now */ 1283 /* set the check time to now */
1284 xs *dummy = notify_check_time(snac, 1); 1284 xs *dummy = notify_check_time(snac, 1);
1285 dummy = xs_free(dummy);
1285 1286
1286 timeline_touch(snac); 1287 timeline_touch(snac);
1287 1288
diff --git a/mastoapi.c b/mastoapi.c
index 2413edb..c333573 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -542,7 +542,6 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
542 xs *f = xs_val_new(XSTYPE_FALSE); 542 xs *f = xs_val_new(XSTYPE_FALSE);
543 xs *t = xs_val_new(XSTYPE_TRUE); 543 xs *t = xs_val_new(XSTYPE_TRUE);
544 xs *n = xs_val_new(XSTYPE_NULL); 544 xs *n = xs_val_new(XSTYPE_NULL);
545 xs *el = xs_list_new();
546 xs *idx = NULL; 545 xs *idx = NULL;
547 xs *ixc = NULL; 546 xs *ixc = NULL;
548 547