forked from Telodendria/Telodendria
Fix warnings in RouteChangePwd.c
This commit is contained in:
parent
9b21e2460a
commit
eef615fc9a
2 changed files with 4 additions and 4 deletions
|
@ -53,7 +53,6 @@ ROUTE_IMPL(RouteChangePwd, args)
|
|||
|
||||
HashMap *request = NULL;
|
||||
HashMap *response = NULL;
|
||||
HashMap *devices = NULL;
|
||||
|
||||
JsonValue *val = NULL;
|
||||
|
||||
|
@ -64,7 +63,6 @@ ROUTE_IMPL(RouteChangePwd, args)
|
|||
|
||||
char *token;
|
||||
char *newPassword;
|
||||
char *key;
|
||||
|
||||
if (MATRIX_PATH_PARTS(args->path) != 0 ||
|
||||
HttpRequestMethodGet(args->context) != HTTP_POST)
|
||||
|
|
|
@ -65,8 +65,10 @@ ROUTE(RouteLogin); /* /_matrix/client/(r0|v3)/login */
|
|||
ROUTE(RouteLogout); /* /_matrix/client/(r0|v3)/logout */
|
||||
ROUTE(RouteRegister); /* /_matrix/client/(r0|v3)/register */
|
||||
ROUTE(RouteRefresh); /* /_matrix/client/(r0|v3)/refresh */
|
||||
ROUTE(RouteWhoami); /* /_matrix/client/(r0|v3)/account/whoami */
|
||||
ROUTE(RouteChangePwd); /* /_matrix/client/(r0|v3)/account/password */
|
||||
ROUTE(RouteWhoami); /* /_matrix/client/(r0|v3)/account/wh
|
||||
* oami */
|
||||
ROUTE(RouteChangePwd); /* /_matrix/client/(r0|v3)/account/pa
|
||||
* ssword */
|
||||
|
||||
ROUTE(RouteTokenValid); /* /_matrix/client/v1/register/m.logi
|
||||
* n.registration_token/validity */
|
||||
|
|
Loading…
Reference in a new issue