commit 05fc062

default  ·  2024-03-12 06:03:44 +0000 UTC
parent a0377b6
Some formatting tweaks.
1 files changed,  +6, -6
+6, -6
 1@@ -359,9 +359,9 @@ int oauth_post_handler(const xs_dict *req, const char *q_path,
 2             }
 3         }
 4 
 5-	/* no code? 
 6-	   I'm not sure of the impacts of this right now, but Subway Tooter does not
 7-	   provide a code so one must be generated */
 8+        /* no code? 
 9+           I'm not sure of the impacts of this right now, but Subway Tooter does not
10+           provide a code so one must be generated */
11         if (xs_is_null(code)){
12             code = random_str();
13         }
14@@ -1716,8 +1716,8 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
15     else
16     if (strcmp(cmd, "/v2/filters") == 0) { /** **/
17         /* snac will never have filters 
18-	 * but still, without a v2 endpoint a short delay is introduced
19-	 * in some apps */
20+         * but still, without a v2 endpoint a short delay is introduced
21+         * in some apps */
22         *body  = xs_dup("[]");
23         *ctype = "application/json";
24         status = 200;
25@@ -2115,7 +2115,7 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path,
26     }
27     else if (i_ctype && xs_startswith(i_ctype, "application/x-www-form-urlencoded"))
28     {
29-	// Some apps send form data instead of json so we should cater for those
30+        // Some apps send form data instead of json so we should cater for those
31         if (!xs_is_null(payload)) {
32             xs *upl = xs_url_dec(payload);
33             args    = xs_url_vars(upl);