nss-pam-ldapd commit: r1688 - nss-pam-ldapd/compat
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1688 - nss-pam-ldapd/compat
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1688 - nss-pam-ldapd/compat
- Date: Fri, 11 May 2012 11:28:29 +0200 (CEST)
Author: arthur
Date: Fri May 11 11:28:29 2012
New Revision: 1688
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1688&view=revision
Log:
fix fallback definition of SUN_LEN() (fixes r1686)
Modified:
nss-pam-ldapd/compat/socket.h
Modified: nss-pam-ldapd/compat/socket.h
==============================================================================
--- nss-pam-ldapd/compat/socket.h Wed May 9 22:58:22 2012 (r1687)
+++ nss-pam-ldapd/compat/socket.h Fri May 11 11:28:29 2012 (r1688)
@@ -28,7 +28,7 @@
/* provide a definition for SUN_LEN for systems without it */
#ifndef SUN_LEN
-#define SUN_LEN(addr) (sizeof((addr).sun_family)+strlen((addr).sun_path)+1)
+#define SUN_LEN(addr) (sizeof((addr)->sun_family)+strlen((addr)->sun_path)+1)
#endif /* not SUN_LEN */
#endif /* not COMPAT__SOCKET_H */
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1688 - nss-pam-ldapd/compat,
Commits of the nss-pam-ldapd project