summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Paul Wilde2024-01-28 21:14:46 +0000
committerGravatar Paul Wilde2024-01-28 21:14:46 +0000
commitd7978621ed3756dd3d021631d7f735ef0d8f39d4 (patch)
treec07e3d4badfed27fb6ac4f8a23687ec435300092
parentcleanup (diff)
downloadsnac2-d7978621ed3756dd3d021631d7f735ef0d8f39d4.tar.gz
snac2-d7978621ed3756dd3d021631d7f735ef0d8f39d4.tar.xz
snac2-d7978621ed3756dd3d021631d7f735ef0d8f39d4.zip
formatting
-rw-r--r--mastoapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mastoapi.c b/mastoapi.c
index abeea94..efcdae8 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -362,9 +362,9 @@ int oauth_post_handler(const xs_dict *req, const char *q_path,
362 /* no code? 362 /* no code?
363 I'm not sure of the impacts of this right now, but Subway Tooter does not 363 I'm not sure of the impacts of this right now, but Subway Tooter does not
364 provide a code so one must be generated */ 364 provide a code so one must be generated */
365 if (xs_is_null(code)){ 365 if (xs_is_null(code)){
366 code = random_str(); 366 code = random_str();
367 } 367 }
368 if (gtype && code && cid && csec && ruri) { 368 if (gtype && code && cid && csec && ruri) {
369 xs *app = app_get(cid); 369 xs *app = app_get(cid);
370 370