summaryrefslogtreecommitdiff
path: root/source3/lib/tldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-14 21:16:23 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-14 22:02:35 +0100
commit8dfa224c1350a9cb3a2d35fae7721bebecfe7934 (patch)
treee6915b8db5989f3f11629efca8ae231825907cad /source3/lib/tldap.c
parente818090e245776ca1bcd362a47864eee35ed55ba (diff)
downloadsamba-8dfa224c1350a9cb3a2d35fae7721bebecfe7934.tar.gz
samba-8dfa224c1350a9cb3a2d35fae7721bebecfe7934.tar.bz2
samba-8dfa224c1350a9cb3a2d35fae7721bebecfe7934.zip
s3: Change tldap_entry_attributes to the "array,count" convention
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 14 22:02:35 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/lib/tldap.c')
-rw-r--r--source3/lib/tldap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 1dd380f259..9523fdeab9 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -1958,8 +1958,9 @@ bool tldap_entry_dn(struct tldap_message *msg, char **dn)
return true;
}
-bool tldap_entry_attributes(struct tldap_message *msg, int *num_attributes,
- struct tldap_attribute **attributes)
+bool tldap_entry_attributes(struct tldap_message *msg,
+ struct tldap_attribute **attributes,
+ int *num_attributes)
{
if ((msg->dn == NULL) && (!tldap_parse_search_entry(msg))) {
return false;