summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
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();
+ code = random_str();
}
if (gtype && code && cid && csec && ruri) {
xs *app = app_get(cid);