summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 55f685c..0c94dd9 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1028,13 +1028,13 @@ int process_auth_token(snac *snac, const xs_dict *req)
1028 /* this counts as a 'login' */ 1028 /* this counts as a 'login' */
1029 lastlog_write(snac, "mastoapi"); 1029 lastlog_write(snac, "mastoapi");
1030 1030
1031 srv_debug(2, xs_fmt("mastoapi auth: valid token for user %s", uid)); 1031 srv_debug(2, xs_fmt("mastoapi auth: valid token for user '%s'", uid));
1032 } 1032 }
1033 else 1033 else
1034 srv_log(xs_fmt("mastoapi auth: corrupted token %s", tokid)); 1034 srv_log(xs_fmt("mastoapi auth: corrupted token '%s'", tokid));
1035 } 1035 }
1036 else 1036 else
1037 srv_log(xs_fmt("mastoapi auth: invalid token %s", tokid)); 1037 srv_log(xs_fmt("mastoapi auth: invalid token '%s'", tokid));
1038 } 1038 }
1039 1039
1040 return logged_in; 1040 return logged_in;