diff options
| author | Patrick | 2023-07-14 13:46:27 +0200 |
|---|---|---|
| committer | Patrick | 2023-07-14 13:46:27 +0200 |
| commit | 4c72c6901e007414aebb4cb6534c1a49d63558b0 (patch) | |
| tree | c0530fbda67888a8857e5a08222ee6d19c41f260 /src | |
| parent | 10325eaf40c80eb91f1c1eceea880c3abd54efd7 (diff) | |
| download | matrix_esp_thesis-4c72c6901e007414aebb4cb6534c1a49d63558b0.tar.gz matrix_esp_thesis-4c72c6901e007414aebb4cb6534c1a49d63558b0.zip | |
esp32 build, cli
Diffstat (limited to 'src')
| -rw-r--r-- | src/matrix.h | 1 | ||||
| -rw-r--r-- | src/matrix_http_mongoose.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/matrix.h b/src/matrix.h index 5e5eabd..32b8294 100644 --- a/src/matrix.h +++ b/src/matrix.h @@ -283,6 +283,7 @@ MatrixClientRequestDeviceKeys( +
bool
MatrixHttpInit(
MatrixClient * client);
diff --git a/src/matrix_http_mongoose.c b/src/matrix_http_mongoose.c index 0b6c267..a514f72 100644 --- a/src/matrix_http_mongoose.c +++ b/src/matrix_http_mongoose.c @@ -56,7 +56,7 @@ MatrixHttpCallback( conn->dataLen = hm->body.len;
conn->dataReceived = true;
- printf("received[%d]:\n%.*s\n", conn->dataLen, conn->dataLen, conn->data);
+ //printf("received[%d]:\n%.*s\n", conn->dataLen, conn->dataLen, conn->data);
}
if (ev == MG_EV_CLOSE)
{
@@ -86,7 +86,7 @@ MatrixHttpConnect( MatrixHttpConnection * conn =
(MatrixHttpConnection *)client->httpUserData;
- struct mg_connection * c =
+ //struct mg_connection * c =
mg_http_connect(&conn->mgr, client->server, MatrixHttpCallback, client);
while (! conn->connected)
|
