summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2022-09-25 21:45:58 +0200
committerGravatar default2022-09-25 21:45:58 +0200
commitbf1ee12da28894cf08b704adb24ce399459072e0 (patch)
treeecbb246271d736176dca120400bae6548bdbdfa1 /activitypub.c
parentNew function msg_actor(). (diff)
downloadsnac2-bf1ee12da28894cf08b704adb24ce399459072e0.tar.gz
snac2-bf1ee12da28894cf08b704adb24ce399459072e0.tar.xz
snac2-bf1ee12da28894cf08b704adb24ce399459072e0.zip
More sign work (I'm tired).
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/activitypub.c b/activitypub.c
index 7cb0f37..3c8204b 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -28,11 +28,6 @@ int activitypub_request(snac *snac, char *url, d_char **data)
28 NULL, NULL, 0, &status, &payload, &p_size); 28 NULL, NULL, 0, &status, &payload, &p_size);
29 29
30 if (valid_status(status)) { 30 if (valid_status(status)) {
31 if (dbglevel >= 3) {
32 xs *j = xs_json_dumps_pp(response, 4);
33 fprintf(stderr, "%s\n", j);
34 }
35
36 /* ensure it's ActivityPub data */ 31 /* ensure it's ActivityPub data */
37 ctype = xs_dict_get(response, "content-type"); 32 ctype = xs_dict_get(response, "content-type");
38 33