# HG changeset patch # User Chad Peckham # Date 1250089965 18000 # Node ID 33a58f7aa2f42e8567260d90ce02703f41f0ec6f # Parent 9f38f9ad4716094232c5fbc4177472283bb478fc fix bug 9582 diff -r 9f38f9ad4716 -r 33a58f7aa2f4 connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp --- a/connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp Wed Aug 12 10:12:21 2009 -0500 +++ b/connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp Wed Aug 12 10:12:45 2009 -0500 @@ -533,7 +533,12 @@ } else { - done = true; + numberProcessed++; + usedLen += fullMessageLength; + bytesRemaining -= fullMessageLength; + ptr += fullMessageLength; + if (bytesRemaining < protocolHeaderLength) + done = true; } } DeleteMsg(usedLen);