mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Fixed more warnings.
This commit is contained in:
parent
185aac2387
commit
980a8d524f
3 changed files with 3 additions and 2 deletions
|
@ -1386,6 +1386,7 @@ void process_queue_item(xs_dict *q_item)
|
||||||
|
|
||||||
xs *rsp = xs_http_request("POST", url, headers,
|
xs *rsp = xs_http_request("POST", url, headers,
|
||||||
body, strlen(body), &status, NULL, NULL, 0);
|
body, strlen(body), &status, NULL, NULL, 0);
|
||||||
|
rsp = xs_free(rsp);
|
||||||
|
|
||||||
srv_debug(0, xs_fmt("telegram post %d", status));
|
srv_debug(0, xs_fmt("telegram post %d", status));
|
||||||
}
|
}
|
||||||
|
|
1
html.c
1
html.c
|
@ -1282,6 +1282,7 @@ xs_str *html_notifications(snac *snac)
|
||||||
|
|
||||||
/* set the check time to now */
|
/* set the check time to now */
|
||||||
xs *dummy = notify_check_time(snac, 1);
|
xs *dummy = notify_check_time(snac, 1);
|
||||||
|
dummy = xs_free(dummy);
|
||||||
|
|
||||||
timeline_touch(snac);
|
timeline_touch(snac);
|
||||||
|
|
||||||
|
|
|
@ -542,7 +542,6 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
|
||||||
xs *f = xs_val_new(XSTYPE_FALSE);
|
xs *f = xs_val_new(XSTYPE_FALSE);
|
||||||
xs *t = xs_val_new(XSTYPE_TRUE);
|
xs *t = xs_val_new(XSTYPE_TRUE);
|
||||||
xs *n = xs_val_new(XSTYPE_NULL);
|
xs *n = xs_val_new(XSTYPE_NULL);
|
||||||
xs *el = xs_list_new();
|
|
||||||
xs *idx = NULL;
|
xs *idx = NULL;
|
||||||
xs *ixc = NULL;
|
xs *ixc = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue