lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.13-1-g8ddb983

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd branch master updated. 0.9.13-1-g8ddb983



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".

The branch, master has been updated
       via  8ddb983a546f632986a84a784c4625110f7782a2 (commit)
      from  5f4aacc4a96b452c11e7a1a5625e86d29cb38b1e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/nss-pam-ldapd/commit/?id=8ddb983a546f632986a84a784c4625110f7782a2

commit 8ddb983a546f632986a84a784c4625110f7782a2
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Feb 23 15:22:38 2025 +0100

    Fix variable name (bool) which is a keyword in C23
    
    Closes https://bugs.debian.org/1097481

diff --git a/nslcd/cfg.c b/nslcd/cfg.c
index ded797a..b984b0e 100644
--- a/nslcd/cfg.c
+++ b/nslcd/cfg.c
@@ -207,10 +207,10 @@ static int get_boolean(const char *filename, int lnr,
   return parse_boolean(filename, lnr, token);
 }
 
-static const char *print_boolean(int bool)
+static const char *print_boolean(int value)
 {
-  if (bool) return "yes";
-  else      return "no";
+  if (value) return "yes";
+  else       return "no";
 }
 
 #define TIME_MINUTES 60

-----------------------------------------------------------------------

Summary of changes:
 nslcd/cfg.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
nss-pam-ldapd