From 5cb22046a33f24c1a696990f95e13d534efef497 Mon Sep 17 00:00:00 2001 From: Patrick Date: Sun, 28 May 2023 15:07:34 +0200 Subject: mongoose as http client --- src/matrix.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '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 = -- cgit v1.2.3