From 477a07bfb84c41b6fb86f0ebdd401841542c04b4 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 11 Dec 2006 23:04:33 +0000 Subject: Faster, stronger, ...err no, not the million dollar man. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5950 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ziplink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3