lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.5-5-g3add5f0

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

nss-pam-ldapd branch master updated. 0.9.5-5-g3add5f0



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  3add5f0b123e2877ee3b341c26fcfab9b56026fc (commit)
      from  d58fba960bf1df3cea24858a98aacd6aad1a934d (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=3add5f0b123e2877ee3b341c26fcfab9b56026fc

commit 3add5f0b123e2877ee3b341c26fcfab9b56026fc
Author: Jed Liu <jed-nss-pam-ldapd-users@uma.litech.org>
Date:   Sat May 23 17:22:29 2015 -0400

    Allow configuration values longer than 63 characters

diff --git a/nslcd/cfg.c b/nslcd/cfg.c
index e844af7..305676d 100644
--- a/nslcd/cfg.c
+++ b/nslcd/cfg.c
@@ -143,7 +143,7 @@ static char *get_token(char **line, char *buf, size_t 
buflen)
 static char *get_strdup(const char *filename, int lnr,
                         const char *keyword, char **line)
 {
-  char token[64];
+  char token[MAX_LINE_LENGTH];
   check_argumentcount(filename, lnr, keyword,
                       get_token(line, token, sizeof(token)) != NULL);
   return xstrdup(token);
@@ -165,7 +165,7 @@ static void get_eol(const char *filename, int lnr,
 {
   if ((line != NULL) && (*line != NULL) && (**line != '\0'))
   {
-    log_log(LOG_ERR, "%s:%d: %s: too may arguments", filename, lnr, keyword);
+    log_log(LOG_ERR, "%s:%d: %s: too many arguments", filename, lnr, keyword);
     exit(EXIT_FAILURE);
   }
 }

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

Summary of changes:
 nslcd/cfg.c |    4 ++--
 1 file changed, 2 insertions(+), 2 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/