--- a/email/imap4mtm/imapsettings/src/cimapsettings.cpp Tue Jun 29 23:42:47 2010 +0530
+++ b/email/imap4mtm/imapsettings/src/cimapsettings.cpp Tue Jul 06 22:50:16 2010 +0530
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -170,7 +170,7 @@
void CImapSettings::ReadResourceFileL()
{
RFs fs;
- fs.Connect();
+ User::LeaveIfError(fs.Connect());
CleanupClosePushL(fs);
// NB need to check on all drives - won't necessarily be on