]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - src/matrix_http_mongoose.c
esp32 build, cli
[matrix_esp_thesis] / src / matrix_http_mongoose.c
index 0b6c267cd90e769a483f583337b2453b583aeb0e..a514f72b301eccef9009d466fee310228d82d024 100644 (file)
@@ -56,7 +56,7 @@ MatrixHttpCallback(
         conn->dataLen = hm->body.len;\r
         conn->dataReceived = true;\r
 \r
-        printf("received[%d]:\n%.*s\n", conn->dataLen, conn->dataLen, conn->data);\r
+        //printf("received[%d]:\n%.*s\n", conn->dataLen, conn->dataLen, conn->data);\r
     }\r
     if (ev == MG_EV_CLOSE)\r
     {\r
@@ -86,7 +86,7 @@ MatrixHttpConnect(
     MatrixHttpConnection * conn =\r
         (MatrixHttpConnection *)client->httpUserData;\r
     \r
-    struct mg_connection * c =\r
+    //struct mg_connection * c =\r
         mg_http_connect(&conn->mgr, client->server, MatrixHttpCallback, client);\r
 \r
     while (! conn->connected)\r