diff --git a/DPlusAuthenticator.cpp b/DPlusAuthenticator.cpp index e559152..306cfa5 100644 --- a/DPlusAuthenticator.cpp +++ b/DPlusAuthenticator.cpp @@ -58,8 +58,8 @@ bool CDPlusAuthenticator::Process(std::map &gwy_map, c while (EAI_AGAIN == result) { result = getaddrinfo(m_address.c_str(), NULL, &hints, &infoptr); if (EAI_AGAIN == result) { - fprintf(stdout, "getaddrinfo not ready: please wait..."); - std::this_thread::sleep_for(std::chrono::milliseconds(2000)); + fprintf(stdout, "getaddrinfo not ready: please wait...\n"); + std::this_thread::sleep_for(std::chrono::seconds(5)); } } if (result) { diff --git a/ircddb/IRCClient.cpp b/ircddb/IRCClient.cpp index 83b17d6..2498c30 100644 --- a/ircddb/IRCClient.cpp +++ b/ircddb/IRCClient.cpp @@ -10,8 +10,7 @@ #include #include -IRCClient::IRCClient(IRCApplication *app, const std::string &update_channel, const std::string &hostName, unsigned int port, const std::string &callsign, const std::string &password, - const std::string &versionInfo, const std::string &localAddr) +IRCClient::IRCClient(IRCApplication *app, const std::string &update_channel, const std::string &hostName, unsigned int port, const std::string &callsign, const std::string &password, const std::string &versionInfo, const std::string &localAddr) { safeStringCopy(host_name, hostName.c_str(), sizeof host_name);