diff options
author | default <nobody@localhost> | 2024-02-16 05:26:31 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-02-16 05:26:31 +0100 |
commit | 572c52f9fea21b81fbaae4c74adfab857f7924e4 (patch) | |
tree | 2c66e7c6227da8d6c5cb569ad4adcf294152a768 /utils.c | |
parent | fcf9f9e3315670dadc1c134421aa1653806034bf (diff) |
More verify link logging.
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -431,8 +431,10 @@ void verify_links(snac *user) req = xs_http_request("GET", v, NULL, NULL, 0, &status, &payload, &p_size, 0); - if (!valid_status(status)) + if (!valid_status(status)) { + snac_log(user, xs_fmt("verify link %s error %d", v, status)); continue; + } /* extract the links */ xs *ls = xs_regex_select(payload, "< *(a|link) +[^>]+>"); @@ -490,8 +492,11 @@ void verify_links(snac *user) changed++; - snac_log(user, xs_fmt("verify_links: %s at %s", v, verified_at)); + snac_log(user, xs_fmt("link %s verified at %s", v, verified_at)); } + else + snac_debug(user, 1, + xs_fmt("verify link %s rel='me' found but not related (%s)", v, href)); } } } |