Duncan wrote:

> Many, many posts, including some of my own made with 0.14.2.91, show up in
> overviews/headers, but refuse to appear when I click on them to download.
> If I'm running pan 0.94 from a konsole, it'll print the following
> assertion error:
>
> (article-cache.cc:398 get_message): assertion "this->contains(*it)"
> failed.

Blah.  This is really a server bug.

Cox is honoring `ARTICLE article-number' requests,
but not `ARTICLE <message-id>', at least in that thrad.
It _is_ honoring it in other places though.

I'll work up a patch.
--- ./task-article.cc.bak       2006-04-26 00:51:47.000000000 -0500
+++ ./task-article.cc   2006-04-26 21:58:53.000000000 -0500
@@ -95,7 +95,7 @@
         quarks_t servers;
         group_server.group_get_servers (xit->group, servers);
         foreach_const (quarks_t, servers, sit)
-          n.xref.insert (*sit, xit->group, 0ul);
+          n.xref.insert (*sit, xit->group, *sit==xit->server ? xit->number : 
0ul);
       }
       _needed.push_back (n);
     }
@@ -183,9 +183,12 @@
     needed->buf.reserve (needed->part.bytes);
 
     Quark group;
-    unsigned long unused;
-    needed->xref.find (nntp->_server, group, unused);
-    nntp->article (group, needed->part.message_id.c_str(), this);
+    unsigned long number (0ul);
+    needed->xref.find (nntp->_server, group, number);
+    if (number)
+      nntp->article (group, number, this);
+    else
+      nntp->article (group, needed->part.message_id.c_str(), this);
     update_work ();
   }
 }
_______________________________________________
Pan-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to