summaryrefslogtreecommitdiffstats
path: root/krfb/kinetd
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-04 12:54:43 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-04 12:54:43 -0500
commitfa1a997a1fb5dd3be69fc2e31c098247d512465a (patch)
treebd8cb43a7903251c56d0d3035c5f90864a0ff786 /krfb/kinetd
parent6ed1cdba966f94473bfd2231de721268e95863b1 (diff)
downloadtdenetwork-fa1a997a1fb5dd3be69fc2e31c098247d512465a.tar.gz
tdenetwork-fa1a997a1fb5dd3be69fc2e31c098247d512465a.zip
Do not print bind failure warnings during port availability scan
This resolves Bug 1988
Diffstat (limited to 'krfb/kinetd')
-rw-r--r--krfb/kinetd/kinetd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/krfb/kinetd/kinetd.cpp b/krfb/kinetd/kinetd.cpp
index a446c6fc..9828ebd1 100644
--- a/krfb/kinetd/kinetd.cpp
+++ b/krfb/kinetd/kinetd.cpp
@@ -64,7 +64,7 @@ bool PortListener::acquirePort() {
}
m_port = m_portBase;
m_socket = new TDEServerSocket(m_port, false);
- while (!m_socket->bindAndListen()) {
+ while (!m_socket->bindAndListen(true)) {
m_port++;
if (m_port >= (m_portBase+m_autoPortRange)) {
kdDebug() << "Kinetd cannot load service "<<m_serviceName