SVN commit 594190 by mueller: fix connect timeout being much too short due to s/ms confusion M +2 -2 kmcupsmanager.cpp --- branches/KDE/3.5/kdelibs/kdeprint/cups/kmcupsmanager.cpp #594189:594190 @@ -920,7 +920,7 @@ kdDebug(500) << "Checking for update possible" << endl; delete m_socket; m_socket = new KNetwork::KBufferedSocket; - m_socket->setTimeout( 1 ); + m_socket->setTimeout( 1500 ); connect( m_socket, SIGNAL( connected(const KResolverEntry&) ), SLOT( slotConnectionSuccess() ) ); connect( m_socket, SIGNAL( gotError( int ) ), SLOT( slotConnectionFailed( int ) ) ); @@ -958,7 +958,7 @@ void KMCupsManager::slotAsyncConnect() { - kdDebug(500) << "Starting async connect" << endl; + kdDebug(500) << "Starting async connect to " << CupsInfos::self()->hostaddr() << endl; //m_socket->startAsyncConnect(); if (CupsInfos::self()->host().startsWith("/")) m_socket->connect( QString(), CupsInfos::self()->host());