summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-11 23:09:55 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-11 23:09:55 +0000
commitb0645f0b57a2c81f2ec16c9e08c05789bcf0d7c4 (patch)
treee3e956d7afeab0d07b560ef568efe8afa6821cf6
parent477a07bfb84c41b6fb86f0ebdd401841542c04b4 (diff)
Fix kinda stupid whoopsie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5951 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/extra/m_ziplink.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp
index 062a6d8df..392cb9a8f 100644
--- a/src/modules/extra/m_ziplink.cpp
+++ b/src/modules/extra/m_ziplink.cpp
@@ -308,6 +308,7 @@ class ModuleZLib : public Module
total_in_compressed += readresult;
total_size += session->d_stream.total_out;
total_in_uncompressed += session->d_stream.total_out;
+ offset += session->d_stream.total_out;
}
buffer[total_size] = 0;