summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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