From 0d11fa250f50792b1fdc384ca278d43552bdc92d Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 6 Apr 2013 17:48:24 +0200 Subject: [PATCH] Skip the Metacube header when adding data. --- input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.cpp b/input.cpp index 29e4ed3..d369194 100644 --- a/input.cpp +++ b/input.cpp @@ -91,7 +91,7 @@ void Input::curl_callback(char *ptr, size_t bytes) return; } - process_block(pending_data.data(), size, flags); + process_block(pending_data.data() + sizeof(metacube_block_header), size, flags); // Consume this block. This isn't the most efficient way of dealing with things // should we have many blocks, but these routines don't need to be too efficient -- 2.39.2