From: Kurt Zeilenga Date: Wed, 23 Nov 2005 18:22:02 +0000 (+0000) Subject: s/ACCRIGHTS/ACCRIGHTSLEN/ X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~724 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c5c5a7f19baa1cbd03a80666db954237794351f6;p=openldap s/ACCRIGHTS/ACCRIGHTSLEN/ --- diff --git a/libraries/libldap/os-local.c b/libraries/libldap/os-local.c index 1079c50713..20c167c74c 100644 --- a/libraries/libldap/os-local.c +++ b/libraries/libldap/os-local.c @@ -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};