diff --git a/CMakeLists.txt b/CMakeLists.txt index 7df120f..0ca8cae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,5 +76,5 @@ target_link_libraries(telegram-bot-api PRIVATE memprof tdactor tdcore tddb tdnet install(TARGETS telegram-bot-api RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") if (MSVC AND VCPKG_TOOLCHAIN) - install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$/" DESTINATION "${CMAKE_INSTALL_BINDIR}" FILES_MATCHING PATTERN "*.dll") + install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$/" DESTINATION "${CMAKE_INSTALL_BINDIR}" FILES_MATCHING PATTERN "*.dll" PATTERN "*.pdb") endif() diff --git a/telegram-bot-api/HttpServer.h b/telegram-bot-api/HttpServer.h index 3e10bc9..18a5b06 100644 --- a/telegram-bot-api/HttpServer.h +++ b/telegram-bot-api/HttpServer.h @@ -45,9 +45,10 @@ class HttpServer : public td::TcpListener::Callback { return; } flood_control_.add_event(static_cast(now)); - LOG(INFO) << "Create tcp listener " << td::tag("port", port_); - listener_ = td::create_actor(PSLICE() << "TcpListener" << td::tag("port", port_), port_, - actor_shared(this, 1), ip_address_); + LOG(INFO) << "Create tcp listener " << td::tag("address", ip_address_) << td::tag("port", port_); + listener_ = td::create_actor( + PSLICE() << "TcpListener" << td::tag("address", ip_address_) << td::tag("port", port_), port_, + actor_shared(this, 1), ip_address_); } void hangup_shared() override {