lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.0-49-g34365b4

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

nss-pam-ldapd branch master updated. 0.9.0-49-g34365b4



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  34365b4e9b43045500b478edb8842b5212e8d3f5 (commit)
      from  44a38eba72a454530a0b42425c860b949a5615fa (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 -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=34365b4e9b43045500b478edb8842b5212e8d3f5

commit 34365b4e9b43045500b478edb8842b5212e8d3f5
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Tue Aug 20 16:15:54 2013 +0200

    Add cast to int when logging configuration summary

diff --git a/nslcd/cfg.c b/nslcd/cfg.c
index f4b051f..25fb1f2 100644
--- a/nslcd/cfg.c
+++ b/nslcd/cfg.c
@@ -1522,11 +1522,11 @@ static void cfg_dump(void)
   if (nslcd_cfg->uidname != NULL)
     log_log(LOG_DEBUG, "CFG: uid %s", nslcd_cfg->uidname);
   else if (nslcd_cfg->uid != NOUID)
-    log_log(LOG_DEBUG, "CFG: uid %d", nslcd_cfg->uid);
+    log_log(LOG_DEBUG, "CFG: uid %d", (int)nslcd_cfg->uid);
   else
     log_log(LOG_DEBUG, "CFG: # uid not set");
   if (nslcd_cfg->gid != NOGID)
-    log_log(LOG_DEBUG, "CFG: gid %d", nslcd_cfg->gid);
+    log_log(LOG_DEBUG, "CFG: gid %d", (int)nslcd_cfg->gid);
   else
     log_log(LOG_DEBUG, "CFG: # gid not set");
   log_log_config();
@@ -1679,7 +1679,7 @@ static void cfg_dump(void)
       strcpy(buffer + sizeof(buffer) - 4, "...");
     log_log(LOG_DEBUG, "CFG: nss_initgroups_ignoreusers %s", buffer);
   }
-  log_log(LOG_DEBUG, "CFG: nss_min_uid %d", nslcd_cfg->nss_min_uid);
+  log_log(LOG_DEBUG, "CFG: nss_min_uid %d", (int)nslcd_cfg->nss_min_uid);
   log_log(LOG_DEBUG, "CFG: nss_nested_groups %s", 
print_boolean(nslcd_cfg->nss_nested_groups));
   log_log(LOG_DEBUG, "CFG: validnames %s", nslcd_cfg->validnames_str);
   log_log(LOG_DEBUG, "CFG: ignorecase %s", 
print_boolean(nslcd_cfg->ignorecase));

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

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


hooks/post-receive
-- 
nss-pam-ldapd
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/