summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/extra/m_ziplink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp
index e5f9ab94c..062a6d8df 100644
--- a/src/modules/extra/m_ziplink.cpp
+++ b/src/modules/extra/m_ziplink.cpp
@@ -307,11 +307,11 @@ class ModuleZLib : public Module
total_in_compressed += readresult;
total_size += session->d_stream.total_out;
- readresult = session->d_stream.total_out;
total_in_uncompressed += session->d_stream.total_out;
}
buffer[total_size] = 0;
+ readresult = total_size;
}
return (readresult > 0);