summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/activitypub.c b/activitypub.c
index 4d20487..b316574 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -139,11 +139,6 @@ int send_to_inbox(snac *snac, char *inbox, char *msg, d_char **payload, int *p_s
139 response = http_signed_request(snac, "POST", inbox, 139 response = http_signed_request(snac, "POST", inbox,
140 NULL, j_msg, strlen(j_msg), &status, payload, p_size); 140 NULL, j_msg, strlen(j_msg), &status, payload, p_size);
141 141
142 if (status == 400) {
143 snac_debug(snac, 0, xs_fmt("send_to_inbox error %d (response date: '%s')",
144 status, xs_dict_get(response, "date")));
145 }
146
147 xs_free(response); 142 xs_free(response);
148 143
149 return status; 144 return status;
@@ -839,7 +834,7 @@ int process_message(snac *snac, char *msg, char *req)
839 } 834 }
840 835
841 /* check the signature */ 836 /* check the signature */
842 if (!check_signature(snac, req, actor_o)) { 837 if (!check_signature(snac, req)) {
843 snac_log(snac, xs_fmt("bad signature %s", actor)); 838 snac_log(snac, xs_fmt("bad signature %s", actor));
844 return 1; 839 return 1;
845 } 840 }