lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1597 - in nss-pam-ldapd: . nss

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

nss-pam-ldapd commit: r1597 - in nss-pam-ldapd: . nss



Author: arthur
Date: Tue Jan 17 20:41:08 2012
New Revision: 1597
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1597&view=revision

Log:
FreeBSD compilation fixes by Maxim Vetrov

Modified:
   nss-pam-ldapd/AUTHORS
   nss-pam-ldapd/nss/bsdnss.c

Modified: nss-pam-ldapd/AUTHORS
==============================================================================
--- nss-pam-ldapd/AUTHORS       Tue Jan 17 20:38:19 2012        (r1596)
+++ nss-pam-ldapd/AUTHORS       Tue Jan 17 20:41:08 2012        (r1597)
@@ -115,3 +115,4 @@
 Paul Gevers <paul@climbing.nl>
 Jeroen Schot <schot@A-Eskwadraat.nl>
 Tom Judge <tom@tomjudge.com>
+Maxim Vetrov <muxas@mail.ru>

Modified: nss-pam-ldapd/nss/bsdnss.c
==============================================================================
--- nss-pam-ldapd/nss/bsdnss.c  Tue Jan 17 20:38:19 2012        (r1596)
+++ nss-pam-ldapd/nss/bsdnss.c  Tue Jan 17 20:41:08 2012        (r1597)
@@ -165,7 +165,7 @@
   return ret;
 }
 
-static int __freebsd_getgroupmembership(void *retval,void *mdata,va_list ap)
+int __freebsd_getgroupmembership(void *retval,void *mdata,va_list ap)
 {
   int err;
   nss_status_t s;
@@ -194,7 +194,7 @@
   if (s==NSS_STATUS_SUCCESS)
   {
     for (i=0;i<lstart;i++)
-      __gr_addgid(tmpgroups[i],groups,maxgrp,grpcnt)
+      __gr_addgid(tmpgroups[i],groups,maxgrp,grpcnt);
     s=NSS_STATUS_NOTFOUND;
   }
   free(tmpgroups);
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/