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

Dear Maintainer,

>From d0ae4064ab527fcf17f762a2e8960981e870d7c9 Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Sun, 21 Feb 2021 23:54:23 +0000
>Subject: [PATCH] add "active_directory" to files "global.h" and "variable.c"

  global.h: Declare the variable "active_directory".

  variable.c: define the string "active-directory" in the array
                "variables[]".

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 global.h   | 2 +-
 variable.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/global.h b/global.h
index cd7d24e..8fe3682 100644
--- a/global.h
+++ b/global.h
@@ -95,7 +95,7 @@ typedef int     (*fct_type) ();
  */
 
 extern char
-               *nn_directory, *lib_directory, version_id[];
+               *active_directory, *nn_directory, *lib_directory, version_id[];
 
 extern int      use_nntp;      /* 1 iff we are using nntp */
 
diff --git a/variable.c b/variable.c
index 68cc1f0..2dceaad 100644
--- a/variable.c
+++ b/variable.c
@@ -199,6 +199,7 @@ static struct variable_defs {
     char          **var_addr;
 }               variables[] = {
 
+    {"active-directory", STR 2, (char **) &active_directory},
     {"also-full-digest", BOOL 0, (char **) &also_full_digest},
     {"also-subgroups", BOOL INIT 0, (char **) &also_subgroups},
     {"append-signature-mail", BOOL 0, (char **) &append_sig_mail},
-- 
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

Reply via email to