diff options
author | Sadie Powell <sadie@witchery.services> | 2021-03-02 22:31:29 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-03-02 22:31:29 +0000 |
commit | 27f8e788c2a515f63f1f0e5e2b4b0d5e78c3dab4 (patch) | |
tree | befe2044739948f47b91e7aed940cd437c68d41b /src/configreader.cpp | |
parent | d45b43256f2753e893d337839a9207a6d7d1c4f6 (diff) |
Fix using std::cout instead of errstr when a port fails to bind.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 304dc3705..fa9bbf105 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -527,7 +527,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) ServerInstance->BindPorts(pl); if (!pl.empty()) { - std::cout << "Warning! Some of your listener" << (pl.size() == 1 ? "s" : "") << " failed to bind:" << std::endl; + errstr << "Warning! Some of your listener" << (pl.size() == 1 ? "s" : "") << " failed to bind:" << std::endl; for (FailedPortList::const_iterator iter = pl.begin(); iter != pl.end(); ++iter) { const FailedPort& fp = *iter; |