summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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 634ffccc4..355b08695 100644
--- a/src/modules/extra/m_ziplink.cpp
+++ b/src/modules/extra/m_ziplink.cpp
@@ -136,7 +136,7 @@ class CountedBuffer : public classbase
SI->Log(DEBUG,"Shrunk buffer to %d", bufsz);
- memcpy(buffer, temp + amount_expected, bufsz);
+ memcpy(buffer, temp + amount_expected + 4, bufsz);
amount_read -= (amount_expected + 4);
SI->Log(DEBUG,"Amount read now %d", amount_read);