Browse Source

formatting

Paul Wilde 1 year ago
parent
commit
d7978621ed
1 changed files with 3 additions and 3 deletions
  1. 3 3
      mastoapi.c

+ 3 - 3
mastoapi.c

@@ -362,9 +362,9 @@ int oauth_post_handler(const xs_dict *req, const char *q_path,
 	/* no code? 
 	   I'm not sure of the impacts of this right now, but Subway Tooter does not
 	   provide a code so one must be generated */
-	if (xs_is_null(code)){
-		code = random_str();
-	}
+        if (xs_is_null(code)){
+            code = random_str();
+        }
         if (gtype && code && cid && csec && ruri) {
             xs *app = app_get(cid);