Skip to content

Commit

Permalink
增加调试信息
Browse files Browse the repository at this point in the history
  • Loading branch information
kbengine committed May 8, 2015
1 parent 162eb34 commit 513ad2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kbe/src/lib/server/telnet_server.cpp
Expand Up @@ -110,6 +110,11 @@ bool TelnetServer::start(std::string passwd, std::string deflayer, u_int16_t por
}

INFO_MSG(fmt::format("TelnetServer server is running on port {}\n", port));

#if KBE_PLATFORM == PLATFORM_WIN32
printf("[INFO]: %s", fmt::format("TelnetServer server is running on port {}\n", port).c_str());
#endif

return true;
}

Expand Down

0 comments on commit 513ad2e

Please sign in to comment.