equal
deleted
inserted
replaced
2092 |
2092 |
2093 |
2093 |
2094 void CMsvServer::BuildDefaultIniFileL(TMsvConfig& aConfig) |
2094 void CMsvServer::BuildDefaultIniFileL(TMsvConfig& aConfig) |
2095 { |
2095 { |
2096 RFs fileSession; |
2096 RFs fileSession; |
2097 fileSession.Connect(); |
2097 User::LeaveIfError(fileSession.Connect()); |
2098 |
2098 |
2099 TInt error; |
2099 TInt error; |
2100 TVolumeInfo volume; |
2100 TVolumeInfo volume; |
2101 TUint uniqueId = 0; |
2101 TUint uniqueId = 0; |
2102 TChar driveChar= fileSession.GetSystemDriveChar(); |
2102 TChar driveChar= fileSession.GetSystemDriveChar(); |
2193 //cleanup the corrupted info |
2193 //cleanup the corrupted info |
2194 CleanupStack::PopAndDestroy(2, store); |
2194 CleanupStack::PopAndDestroy(2, store); |
2195 |
2195 |
2196 //create a new ini file |
2196 //create a new ini file |
2197 RFs fileSession; |
2197 RFs fileSession; |
2198 fileSession.Connect(); |
2198 User::LeaveIfError(fileSession.Connect()); |
2199 |
2199 |
2200 TInt error; |
2200 TInt error; |
2201 TVolumeInfo volume; |
2201 TVolumeInfo volume; |
2202 TUint uniqueId = 0; |
2202 TUint uniqueId = 0; |
2203 TDriveUnit driveUnit(systemDrive); |
2203 TDriveUnit driveUnit(systemDrive); |