summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-11 19:29:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-11 19:29:40 +0000
commit1dd1e57014915005a7e6e739ae8c80b1c70b7c19 (patch)
tree7350deab4e26c2b2983fea9cc7a8eb8c86332a42 /src
parenta9d57b9ff061b63a1220cfe53205399a576319bd (diff)
Test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5930 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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);