[pan2] quickfix for group enter



commit d454a368e755a20e9d122d2fe12626513b4b3c9e
Author: Heinrich MÃller <henmull src gnome org>
Date:   Wed Dec 26 10:00:04 2012 +0100

    quickfix for group enter

 pan/tasks/nntp.cc |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/pan/tasks/nntp.cc b/pan/tasks/nntp.cc
index 2cfab01..8a3976c 100644
--- a/pan/tasks/nntp.cc
+++ b/pan/tasks/nntp.cc
@@ -311,10 +311,7 @@ void
 NNTP :: enter_group (const Quark& group)
 {
    if (group != _group)
-   {
     _commands.push_back (build_command ("GROUP %s\r\n",group.c_str()));
-    write_next_command();
-   }
 }
 
 
@@ -352,11 +349,10 @@ NNTP :: xfeat (const Quark   & group,
 {
    _listener = l;
 
-   _commands.push_back ("XFEATURE COMPRESS GZIP");
    write_next_command();
-   enter_group(group);
-   _commands.push_back (build_command ("XOVER %"G_GUINT64_FORMAT"-%"G_GUINT64_FORMAT"\r\n", low, high));
+   _commands.push_back ("XFEATURE COMPRESS GZIP");
    write_next_command();
+   xover (group, low, high, l);
 
 }
 



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