Dear Maintainer,
Add a prototype for "msg(char*, ...)".
Add an empty line before a while-loop.
Signed-off-by: Bjarni Ingi Gislason <bjarniig@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;