From e89d523a7ac895f9bb724f3fa504f49c978aa4df Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 6 Dec 2015 23:39:14 +0300 Subject: Some fixes. Closes #9, #10 --- include/tgbot/net/HttpServer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tgbot/net/HttpServer.h') diff --git a/include/tgbot/net/HttpServer.h b/include/tgbot/net/HttpServer.h index 888c0a8..164bd2b 100644 --- a/include/tgbot/net/HttpServer.h +++ b/include/tgbot/net/HttpServer.h @@ -80,7 +80,7 @@ protected: data.reserve(10240); socket->async_receive(data, [this]() { std::map headers; - std::string body = HttpParser::parseResponse(data, headers); + std::string body = HttpParser::getInstance().parseResponse(data, headers); socket->async_send(_handler(body, headers)); }); } -- cgit v1.2.3