summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar Paul Wilde2024-01-28 21:06:36 +0000
committerGravatar Paul Wilde2024-01-28 21:06:36 +0000
commitddfd8aaca9c3d3cb0dccf40580337a65f44413ed (patch)
tree9aca82f1a893644ca1c14b60cc70acc908e2f51f /mastoapi.c
parentcleanup (diff)
downloadsnac2-ddfd8aaca9c3d3cb0dccf40580337a65f44413ed.tar.gz
snac2-ddfd8aaca9c3d3cb0dccf40580337a65f44413ed.tar.xz
snac2-ddfd8aaca9c3d3cb0dccf40580337a65f44413ed.zip
cleanup
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 8a48198..4c39854 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -363,7 +363,7 @@ int oauth_post_handler(const xs_dict *req, const char *q_path,
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);