diff options
Diffstat (limited to 'src/modules/extra/m_ziplink.cpp')
-rw-r--r-- | src/modules/extra/m_ziplink.cpp | 2 |
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); |