email/imap4mtm/imapsettings/src/cimapsettings.cpp
branchRCL_3
changeset 25 fa1df4b99609
parent 0 72b543305e3a
--- a/email/imap4mtm/imapsettings/src/cimapsettings.cpp	Thu Jul 15 18:34:37 2010 +0300
+++ b/email/imap4mtm/imapsettings/src/cimapsettings.cpp	Thu Aug 19 09:51:11 2010 +0300
@@ -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