abouttreesummaryrefslogcommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/matrix.h1
-rw-r--r--src/matrix_http_mongoose.c4
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)