# HG changeset patch # User Chad Peckham # Date 1250089784 18000 # Node ID d23909ab8f1b52b4d2d1379b5d31bfff0114c6d1 # Parent 92d7efac8a154e3e22ac0fce52e62e35883592b7 fix bug 9582 diff -r 92d7efac8a15 -r d23909ab8f1b connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp --- a/connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp Wed Aug 12 10:09:05 2009 -0500 +++ b/connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp Wed Aug 12 10:09:44 2009 -0500 @@ -533,7 +533,12 @@ } else { - done = true; + numberProcessed++; + usedLen += fullMessageLength; + bytesRemaining -= fullMessageLength; + ptr += fullMessageLength; + if (bytesRemaining < protocolHeaderLength) + done = true; } } DeleteMsg(usedLen);