diff -r b9b00b134b0d -r d316aecb87fd omadmadapters/syncmldm12/src/NSmlDmSettingsAdapter12.cpp --- a/omadmadapters/syncmldm12/src/NSmlDmSettingsAdapter12.cpp Tue Jul 13 03:51:25 2010 +0530 +++ b/omadmadapters/syncmldm12/src/NSmlDmSettingsAdapter12.cpp Tue Jul 13 04:01:20 2010 +0530 @@ -2044,7 +2044,7 @@ { TInt pid = i + KMaxDataSyncID; TInt index = profileList.Find(pid ); - if( index >= i ) + if( index >= 0 ) { TInt rValue(KErrNone); RSyncMLDevManProfile profile;