Source: nn Version: 6.7.3-14 Severity: normal Tags: patch Dear Maintainer,
>From 659beebb427e3163f3600d18b15ef5fe5977d26b Mon Sep 17 00:00:00 2001 >From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> >Date: Fri, 26 Feb 2021 01:26:08 +0000 >Subject: [PATCH] articles.c: Add information to the output of "log_entry()" in > the label "data_error:" articles.c: Add information to the output of "log_entry()" in the label "data_error:" Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> --- articles.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/articles.c b/articles.c index 02be346..6364979 100644 --- a/articles.c +++ b/articles.c @@ -39,7 +39,7 @@ article_header **articles; extern int ignore_fancy_select; extern int killed_articles; -extern attr_type test_article(); +extern attr_type test_article(article_header *); /* defined in "newsrc.h" */ /* * memory management @@ -589,7 +589,8 @@ attr_again: return n_articles > 0 ? 1 : 0; data_error: - log_entry('E', "%s: data inconsistency", gh->group_name); + log_entry('E', "%s: article data inconsistency; number=%li, first=%li, last=%li", gh->group_name, + db_hdr.dh_number, gh->first_db_article, gh->last_db_article); */ #ifndef NOV fclose(data); -- 2.30.0 -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads) Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) -- debconf information excluded -- Bjarni I. Gislason