commsfwutils/commsbufs/mbufmgr/src/mb_chn.cpp
changeset 50 afebdb533a85
parent 33 8fc8de15e664
child 66 cbb19216b74d
--- a/commsfwutils/commsbufs/mbufmgr/src/mb_chn.cpp	Mon May 24 18:49:19 2010 +0100
+++ b/commsfwutils/commsbufs/mbufmgr/src/mb_chn.cpp	Tue Jul 20 18:12:15 2010 +0100
@@ -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
         {