From 0483fd287e8ea0f0488cfe981da098d8161858e2 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sun, 25 Nov 2007 13:43:25 +0000 Subject: [PATCH] Streaming update --- mvpreceiver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvpreceiver.c b/mvpreceiver.c index ae8c01b..3f68ec5 100755 --- a/mvpreceiver.c +++ b/mvpreceiver.c @@ -112,7 +112,7 @@ void MVPReceiver::threadMethod() *(ULONG*)&buffer[4] = htonl(streamID); *(ULONG*)&buffer[8] = htonl(amountReceived); tcp->sendPacket(buffer, amountReceived + 12); - } while(processed.getContent()); + } while(processed.getContent() >= streamChunkSize); } } -- 2.39.5