[#48] Fix bug in MatrixGetAccessToken()

This commit is contained in:
Jordan Bancino 2023-02-16 01:33:46 +00:00
parent 2ce43ce457
commit 85380efa3c

View file

@ -330,7 +330,7 @@ MatrixGetAccessToken(HttpServerContext * context, char **accessToken)
} }
/* Seek past "Bearer" */ /* Seek past "Bearer" */
token += 8; token += 7;
/* Seek past any spaces between "Bearer" and the token */ /* Seek past any spaces between "Bearer" and the token */
while (*token && isspace((unsigned char) *token)) while (*token && isspace((unsigned char) *token))