diff -r 9360ca28b668 -r c4687ff85147 omadm/omadmextensions/adapters/syncmldm12/src/NSmlDmSettingsAdapter12.cpp --- a/omadm/omadmextensions/adapters/syncmldm12/src/NSmlDmSettingsAdapter12.cpp Thu Jul 15 18:24:21 2010 +0300 +++ b/omadm/omadmextensions/adapters/syncmldm12/src/NSmlDmSettingsAdapter12.cpp Thu Aug 19 09:42:30 2010 +0300 @@ -2044,7 +2044,7 @@ { TInt pid = i + KMaxDataSyncID; TInt index = profileList.Find(pid ); - if( index >= i ) + if( index >= 0 ) { TInt rValue(KErrNone); RSyncMLDevManProfile profile;