--- a/commsfwutils/commsbufs/TS_mbufmgr/Test06SplitL.cpp Mon Jun 21 17:02:22 2010 +0300
+++ b/commsfwutils/commsbufs/TS_mbufmgr/Test06SplitL.cpp Thu Jul 15 20:01:43 2010 +0300
@@ -162,7 +162,17 @@
//-------------- substep 7 --------------------
Log(_L(" 07 Split Chain1. The 2nd part goes to Chain2:"));
RMBufChain aChain2;
- TRAP(ret,aChain1.SplitL(aOffset, aChain2));
+
+ if(forceSmallBuf)
+ {
+ RMBufAllocator allocator;
+ ret= aChain1.Split(aOffset, aChain2, allocator);
+ }
+ else
+ {
+ TRAP(ret,aChain1.SplitL(aOffset, aChain2));
+ }
+
if (ret != KErrNone)
{
Log(_L("Error: Couldn't Split"));