X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/71b13552379398dafcbc8fa8347d119a8984f448..5cb22046a33f24c1a696990f95e13d534efef497:/src/matrix.c diff --git a/src/matrix.c b/src/matrix.c index 90132af..790f0f5 100644 --- a/src/matrix.c +++ b/src/matrix.c @@ -1,5 +1,6 @@ #include "matrix.h" +#include #include @@ -11,8 +12,8 @@ bool MatrixClientInit( MatrixClient * client, - char * server, int serverLen -) { + char * server, int serverLen) +{ strcpy_s( client->server, SERVER_SIZE, @@ -29,8 +30,8 @@ MatrixClientLoginPassword( MatrixClient * client, char * username, int usernameLen, char * password, int passwordLen, - char * displayName, int displayNameLen -) { + char * displayName, int displayNameLen) +{ static char requestBuffer[LOGIN_REQUEST_SIZE]; int requestLen =