Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch

Dear Maintainer,

>From 5cb3ed3d3455c36988127b6201604523550ece04 Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Mon, 1 Mar 2021 23:20:25 +0000
>Subject: [PATCH] libnov.c: add a prototype "msg(char*, ...)" and an empty line<

  Add a prototype for "msg(char*, ...)".

  Add an empty line before a while-loop.

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 libnov.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libnov.c b/libnov.c
index 170db4a..d0a3d16 100644
--- a/libnov.c
+++ b/libnov.c
@@ -77,6 +77,7 @@ a fair bit of unused code.
 static char    *newsarts = NEWS_DIRECTORY;     /* news spool */
 static char    *overviewfiles = OVFILENAME;    /* overview */
 static int      prsoverview(register struct novgroup *, register 
article_number, register article_number);
+void           msg(char*, ...);
 
 #ifdef DO_NOV_DIGEST
 static void     de_digest(struct novgroup *, struct novart *);
@@ -335,6 +336,7 @@ prsoverview(register struct novgroup * gp, register 
article_number first, regist
        if (!novseek(gp->g_stream, first))
            goto done;
     }
+
     while ((line = fgetstr(gp->g_stream)) != NULL) {
        if (strcmp(line, ".") == 0)     /* EOF on a NNTP stream */
            break;
-- 
2.30.1



-- 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

Reply via email to