commsfwutils/commsbufs/mbufmgr/src/mb_chn.cpp
changeset 65 41cc8e7ff496
parent 40 34fc115b8742
child 66 cbb19216b74d
--- a/commsfwutils/commsbufs/mbufmgr/src/mb_chn.cpp	Fri Jun 11 14:52:21 2010 +0300
+++ b/commsfwutils/commsbufs/mbufmgr/src/mb_chn.cpp	Wed Aug 18 10:59:59 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
         {