]> git.sur5r.net Git - openldap/commitdiff
s/ACCRIGHTS/ACCRIGHTSLEN/
authorKurt Zeilenga <kurt@openldap.org>
Wed, 23 Nov 2005 18:22:02 +0000 (18:22 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 23 Nov 2005 18:22:02 +0000 (18:22 +0000)
libraries/libldap/os-local.c

index 1079c5071363bc55423acb732f0abf2a8b16067d..20c167c74ca4007ec88bc63f2747be5e22656324 100644 (file)
@@ -156,8 +156,8 @@ ldap_pvt_is_socket_ready(LDAP *ld, int s)
 
 #if !defined(HAVE_GETPEEREID) && \
        !defined(SO_PEERCRED) && !defined(LOCAL_PEERCRED) && \
-       defined(HAVE_SENDMSG) && (defined(HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS) || \
-                                 defined(HAVE_STRUCT_MSGHDR_MSG_CONTROL))
+       defined(HAVE_SENDMSG) && (defined(HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTSLEN) || \
+               defined(HAVE_STRUCT_MSGHDR_MSG_CONTROL))
 #define DO_SENDMSG
 static const char abandonPDU[] = {LDAP_TAG_MESSAGE, 6,
        LDAP_TAG_MSGID, 1, 0, LDAP_REQ_ABANDON, 1, 0};