equal
deleted
inserted
replaced
57 { |
57 { |
58 } |
58 } |
59 |
59 |
60 EXPORT_C TBool CPbkFFSCheck::FFSClCheckL(TInt aBytesToWrite/*=0*/) |
60 EXPORT_C TBool CPbkFFSCheck::FFSClCheckL(TInt aBytesToWrite/*=0*/) |
61 { |
61 { |
62 RFs* rfSession = NULL; |
62 if (SysUtil::FFSSpaceBelowCriticalLevelL(&iConeEnv->FsSession(),aBytesToWrite) || |
63 if ( iConeEnv ) |
|
64 { |
|
65 rfSession = &iConeEnv->FsSession(); |
|
66 } |
|
67 if (SysUtil::FFSSpaceBelowCriticalLevelL( rfSession, aBytesToWrite ) || |
|
68 DebugFailNext()) |
63 DebugFailNext()) |
69 { |
64 { |
70 // Show not enough memory note |
65 // Show not enough memory note |
71 User::Leave(KErrDiskFull); |
66 User::Leave(KErrDiskFull); |
72 return EFalse; |
67 return EFalse; |