[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kio_obex/kio_obex
From: Mathias Fröhlich <Mathias.Froehlich () web ! de>
Date: 2003-08-07 20:00:22
[Download RAW message or body]
CVS commit by froehlich:
abort connect attempts when wasKilled()
M +2 -2 obex.cpp 1.4
--- kdenonbeta/kio_obex/kio_obex/obex.cpp #1.3:1.4
@@ -461,5 +461,5 @@ void ObexProtocol::openConnection() {
mConnectAttempts = mMaxConnectAttempts;
- while ( !mClient->connectClient() && 0 < --mConnectAttempts )
+ while ( !mClient->connectClient() && 0 < --mConnectAttempts && !wasKilled() )
::sleep( 1 );
mCommandType = Idle;
@@ -508,5 +508,5 @@ bool ObexProtocol::connectClientIfRequir
mCommandType = Connect;
mConnectAttempts = mMaxConnectAttempts;
- while ( !mClient->connectClient() && 0 < --mConnectAttempts )
+ while ( !mClient->connectClient() && 0 < --mConnectAttempts && !wasKilled() )
::sleep( 1 );
mCommandType = Idle;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic