equal
deleted
inserted
replaced
279 // TInt err = newChain.Alloc(len + aHdrReserve, *this); |
279 // TInt err = newChain.Alloc(len + aHdrReserve, *this); |
280 TInt err; |
280 TInt err; |
281 if(First()) |
281 if(First()) |
282 { |
282 { |
283 newChain.iNext = First()->Pool()->Pond().Alloc(len + aHdrReserve, 0, KMaxTInt); |
283 newChain.iNext = First()->Pool()->Pond().Alloc(len + aHdrReserve, 0, KMaxTInt); |
284 err = iNext ? KErrNone : KErrNoMBufs; |
284 err = newChain.iNext ? KErrNone : KErrNoMBufs; |
285 } |
285 } |
286 else |
286 else |
287 { |
287 { |
288 RMBufAllocator allocator; |
288 RMBufAllocator allocator; |
289 err = newChain.Alloc(aLen + aHdrReserve, allocator); |
289 err = newChain.Alloc(aLen + aHdrReserve, allocator); |