summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-23 18:46:30 +0200
committerdefault <nobody@localhost>2022-09-23 18:46:30 +0200
commit6586be50a0297de0e9b7e6cd66ce3b25eccf7e5c (patch)
treeb03db8aefddd9cb5966922d27a74a45d6ab00c59 /main.c
parenta0bcc4e6c022fc55956920fd49303abc6ca9b4db (diff)
Fixed bug in actor_request().
Diffstat (limited to 'main.c')
-rw-r--r--main.c13
1 files changed, 13 insertions, 0 deletions
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;