email/imap4mtm/imapsettings/src/cimapsettings.cpp
changeset 52 12db4185673b
parent 0 72b543305e3a
child 77 da6ac9d688df
--- a/email/imap4mtm/imapsettings/src/cimapsettings.cpp	Tue Jul 06 14:12:40 2010 +0300
+++ b/email/imap4mtm/imapsettings/src/cimapsettings.cpp	Wed Aug 18 09:45:25 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