From 6586be50a0297de0e9b7e6cd66ce3b25eccf7e5c Mon Sep 17 00:00:00 2001 From: default Date: Fri, 23 Sep 2022 18:46:30 +0200 Subject: Fixed bug in actor_request(). --- main.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'main.c') diff --git a/main.c b/main.c index 7d48fa4..90fd5f9 100644 --- a/main.c +++ b/main.c @@ -91,6 +91,19 @@ int main(int argc, char *argv[]) xs *j = xs_json_dumps_pp(data, 4); printf("%s\n", j); } + + return 0; + } + + if (strcmp(cmd, "actor") == 0) { + int status; + xs *data = NULL; + + status = actor_request(&snac, url, &data); + + printf("status: %d\n", status); + + return 0; } return 0; -- cgit v1.2.3