From: Daniel Karbach Date: Sat, 19 Sep 2015 11:19:37 +0000 (+0200) Subject: invalidate chunks after receiving X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=a1a52a8dcfe961c39b39b3abe01e49fd1430102d;p=blank.git invalidate chunks after receiving --- diff --git a/src/client/net.cpp b/src/client/net.cpp index ed2dd20..31f13d9 100644 --- a/src/client/net.cpp +++ b/src/client/net.cpp @@ -123,6 +123,7 @@ void ChunkReceiver::Commit(ChunkTransmission &trans) { } else { memcpy(dst, src, min(src_len, dst_len)); } + chunk->Invalidate(); trans.Clear(); }