tags 364117 + patch
thank...
thanks christian for your report,
i sent a patch to upstream for a review.
cheers,
Fathi
diff -Nur klibido-0.2.5/src/header.cpp klibido-0.2.5.new/src/header.cpp
--- klibido-0.2.5/src/header.cpp 2005-05-05 03:00:20.000000000 +0200
+++ klibido-0.2.5.new/src/header.cpp 2006-04-24 17:18:34.000000000 +0200
@@ -168,7 +168,7 @@
Header::Header( QStringList field)
{
- if (field.count() != 9) {
+ if (field.count() < 9) {
qDebug("Error parsing xover");
qDebug("Article number: %s", (const char *) field[0]);
qDebug("Filed 2: %s", (const char *) field[1]);
@@ -191,7 +191,7 @@
Header::Header( QString s)
{
QStringList field=QStringList::split('\t', s, true);
- if (field.count() != 9) {
+ if (field.count() < 9) {
qDebug("Error parsing xover: %s", (const char *) s);
ok=false;
} else ok=true;
@@ -207,7 +207,7 @@
Header::Header(char *l) {
QString s=l;
QStringList field=QStringList::split('\t', s, true);
- if (field.count() != 9) {
+ if (field.count() < 9) {
kdDebug() << "Error parsing xover:" << s << endl;
kdDebug() << "String was: " << l <<endl;