forked from lda/telodendria
[#48] Fix bug in MatrixGetAccessToken()
This commit is contained in:
parent
2ce43ce457
commit
85380efa3c
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue