- mg_http_connect(&conn->mgr, client->server, MatrixHttpCallback, client);\r
+ return MatrixHttpConnect(client);\r
+}\r
+\r
+bool\r
+MatrixHttpConnect(\r
+ MatrixClient * client)\r
+{\r
+ MatrixHttpConnection * conn =\r
+ (MatrixHttpConnection *)client->httpUserData;\r
+ \r
+ //struct mg_connection * c =\r
+ mg_http_connect(&conn->mgr, client->server, MatrixHttpCallback, client);\r