summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar default2022-09-23 18:46:30 +0200
committerGravatar default2022-09-23 18:46:30 +0200
commit6586be50a0297de0e9b7e6cd66ce3b25eccf7e5c (patch)
treeb03db8aefddd9cb5966922d27a74a45d6ab00c59 /main.c
parentImproved activitypub_request(). (diff)
downloadsnac2-6586be50a0297de0e9b7e6cd66ce3b25eccf7e5c.tar.gz
snac2-6586be50a0297de0e9b7e6cd66ce3b25eccf7e5c.tar.xz
snac2-6586be50a0297de0e9b7e6cd66ce3b25eccf7e5c.zip
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[])
91 xs *j = xs_json_dumps_pp(data, 4); 91 xs *j = xs_json_dumps_pp(data, 4);
92 printf("%s\n", j); 92 printf("%s\n", j);
93 } 93 }
94
95 return 0;
96 }
97
98 if (strcmp(cmd, "actor") == 0) {
99 int status;
100 xs *data = NULL;
101
102 status = actor_request(&snac, url, &data);
103
104 printf("status: %d\n", status);
105
106 return 0;
94 } 107 }
95 108
96 return 0; 109 return 0;