commit ddfd8aa

Paul Wilde  ·  2024-01-28 21:06:36 +0000 UTC
parent 9568ec8
cleanup
1 files changed,  +1, -1
+1, -1
1@@ -363,7 +363,7 @@ int oauth_post_handler(const xs_dict *req, const char *q_path,
2 	   I'm not sure of the impacts of this right now, but Subway Tooter does not
3 	   provide a code so one must be generated */
4 	if (xs_is_null(code)){
5-            code = random_str();
6+		code = random_str();
7 	}
8         if (gtype && code && cid && csec && ruri) {
9             xs *app = app_get(cid);