summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-12 16:37:02 +0100
committerVolker Lendecke <vl@samba.org>2011-02-13 12:11:52 +0100
commit3363bab8754563f39c87de5bb91f77fcad3090f9 (patch)
tree9ea8528969ba25284370db77c9d02060ddaa471d /source3
parent6b492a1741b8bdcfc61e5fded36e818fa7795b76 (diff)
downloadsamba-3363bab8754563f39c87de5bb91f77fcad3090f9.tar.gz
samba-3363bab8754563f39c87de5bb91f77fcad3090f9.tar.bz2
samba-3363bab8754563f39c87de5bb91f77fcad3090f9.zip
s3: Convert tldap_add_blob_vals args to "array, count"
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/tldap_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/tldap_util.c b/source3/lib/tldap_util.c
index f46cfc834d..af8e13c4c6 100644
--- a/source3/lib/tldap_util.c
+++ b/source3/lib/tldap_util.c
@@ -106,7 +106,7 @@ bool tldap_pull_guid(struct tldap_message *msg, const char *attribute,
}
static bool tldap_add_blob_vals(TALLOC_CTX *mem_ctx, struct tldap_mod *mod,
- int num_newvals, DATA_BLOB *newvals)
+ DATA_BLOB *newvals, int num_newvals)
{
int num_values = talloc_array_length(mod->values);
int i;
@@ -170,7 +170,7 @@ bool tldap_add_mod_blobs(TALLOC_CTX *mem_ctx,
}
if ((num_newvals != 0)
- && !tldap_add_blob_vals(mods, mod, num_newvals, newvals)) {
+ && !tldap_add_blob_vals(mods, mod, newvals, num_newvals)) {
return false;
}