[pan2] fix gzip giganews feature



commit 2c870a4420f0e7848c9155887a1ca8542b80e8c2
Author: Heinrich MÃller <henmull src gnome org>
Date:   Fri Jan 11 21:38:11 2013 +0100

    fix gzip giganews feature

 pan/tasks/task-groups.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pan/tasks/task-groups.cc b/pan/tasks/task-groups.cc
index b8765b0..49b3c30 100644
--- a/pan/tasks/task-groups.cc
+++ b/pan/tasks/task-groups.cc
@@ -149,7 +149,7 @@ TaskGroups :: on_nntp_done (NNTP              * nntp,
   else // health is OK or FAIL
   {
 
-    if (response == EOL)
+    if (response == EOL && nntp->_compression)
     {
       std::vector<std::string> lines;
       compression::inflate_gzip (&stream, lines);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]