diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2025-02-23 15:22:38 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2025-02-23 15:30:39 +0100 |
commit | 8ddb983a546f632986a84a784c4625110f7782a2 (patch) | |
tree | b3ca7747a328af1bfc95d599f3bac781a247ce23 | |
parent | 5f4aacc4a96b452c11e7a1a5625e86d29cb38b1e (diff) |
Closes https://bugs.debian.org/1097481
-rw-r--r-- | nslcd/cfg.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |