#983296 db.c: define some variables for subroutine "readactfile"

Package:
src:nn
Source:
nn
Submitter:
Bjarni Ingi Gislason
Date:
2021-02-22 01:39:03 UTC
Severity:
normal
Tags:
#983296#5
Date:
2021-02-22 01:34:40 UTC
From:
To:
Dear Maintainer,

  Define the followiing variables in the subroutine "readactfile":

char           *source;
extern char    *nntp_server;
static FILE    *f_user = NULL;
extern int      nntp_debug;

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

diff --git a/db.c b/db.c
index 99c2695..51ac2e6 100644
--- a/db.c
+++ b/db.c
@@ -1017,6 +1017,10 @@ readactfile(void)
     int             i;
     FILE           *actfp;
     stlist_t       *sthead, *stp = NULL;
+    char           *source;
+    extern char    *nntp_server;
+    static FILE    *f_user = NULL;
+    extern int      nntp_debug;
     extern int      keep_active_file;

     if (actlist != NULL)