author | Chad Peckham <chad.peckham@nokia.com> |
Wed, 12 Aug 2009 10:12:45 -0500 | |
changeset 425 | 33a58f7aa2f4 |
parent 424 | 9f38f9ad4716 |
child 427 | 4fc57cfafd31 |
connectivity/com.nokia.tcf/native/TCFNative/TCFCommTCP/TcpComm.cpp | file | annotate | diff | comparison | revisions |
--- 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);