commsfwutils/commsbufs/mbufmgr/src/mb_chn.cpp
branchRCL_3
changeset 21 07656293a99c
parent 18 9644881fedd0
child 23 cbb19216b74d
--- a/commsfwutils/commsbufs/mbufmgr/src/mb_chn.cpp	Wed Jun 09 11:00:38 2010 +0300
+++ b/commsfwutils/commsbufs/mbufmgr/src/mb_chn.cpp	Mon Jun 21 17:02:22 2010 +0300
@@ -281,7 +281,7 @@
     if(First())
         {
         newChain.iNext = First()->Pool()->Pond().Alloc(len + aHdrReserve, 0, KMaxTInt);
-        err = iNext ? KErrNone : KErrNoMBufs;      
+        err = newChain.iNext ? KErrNone : KErrNoMBufs;      
         }
     else
         {