commit cae37df
khm
·
2024-02-16 19:58:10 +0000 UTC
parent 5bebe5f
webfinger: fix whitespace
1 files changed,
+5,
-5
+5,
-5
1@@ -172,7 +172,7 @@ int webfinger_get_handler(xs_dict *req, char *q_path,
2 /* build the object */
3 xs *acct;
4 xs *aaj = xs_dict_new();
5- xs *prof = xs_dict_new();
6+ xs *prof = xs_dict_new();
7 xs *links = xs_list_new();
8 xs *obj = xs_dict_new();
9
10@@ -185,11 +185,11 @@ int webfinger_get_handler(xs_dict *req, char *q_path,
11
12 links = xs_list_append(links, aaj);
13
14- prof = xs_dict_append(prof, "rel", "http://webfinger.net/rel/profile-page");
15- prof = xs_dict_append(prof, "type", "text/html");
16- prof = xs_dict_append(prof, "href", snac.actor);
17+ prof = xs_dict_append(prof, "rel", "http://webfinger.net/rel/profile-page");
18+ prof = xs_dict_append(prof, "type", "text/html");
19+ prof = xs_dict_append(prof, "href", snac.actor);
20
21- links = xs_list_append(links, prof);
22+ links = xs_list_append(links, prof);
23
24 char *avatar = xs_dict_get(snac.config, "avatar");
25 if (!xs_is_null(avatar) && *avatar) {