summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-12 16:46:59 +0100
committerVolker Lendecke <vl@samba.org>2011-02-13 12:11:52 +0100
commit6375e6993e38483fe2dfb3ce5d039b20b950b438 (patch)
tree9528cf76b75ceb85ebe9018773a828b40f8a1e82
parent67e6874651e1cf0d0015079309c15a68f4048913 (diff)
downloadsamba-6375e6993e38483fe2dfb3ce5d039b20b950b438.tar.gz
samba-6375e6993e38483fe2dfb3ce5d039b20b950b438.tar.bz2
samba-6375e6993e38483fe2dfb3ce5d039b20b950b438.zip
s3: Convert tldap_make_mod_blob args to "array, count"
-rw-r--r--source3/include/tldap_util.h2
-rw-r--r--source3/lib/tldap_util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/tldap_util.h b/source3/include/tldap_util.h
index 5b2d025cc5..72f9ae2114 100644
--- a/source3/include/tldap_util.h
+++ b/source3/include/tldap_util.h
@@ -39,7 +39,7 @@ bool tldap_add_mod_blobs(TALLOC_CTX *mem_ctx, struct tldap_mod **pmods,
bool tldap_add_mod_str(TALLOC_CTX *mem_ctx, struct tldap_mod **pmods,
int mod_op, const char *attrib, const char *str);
bool tldap_make_mod_blob(struct tldap_message *existing, TALLOC_CTX *mem_ctx,
- int *pnum_mods, struct tldap_mod **pmods,
+ struct tldap_mod **pmods, int *pnum_mods,
const char *attrib, DATA_BLOB newval);
bool tldap_make_mod_fmt(struct tldap_message *existing, TALLOC_CTX *mem_ctx,
int *pnum_mods, struct tldap_mod **pmods,
diff --git a/source3/lib/tldap_util.c b/source3/lib/tldap_util.c
index ce0fe3b3e8..f125253afd 100644
--- a/source3/lib/tldap_util.c
+++ b/source3/lib/tldap_util.c
@@ -271,7 +271,7 @@ static bool tldap_make_mod_blob_int(struct tldap_message *existing,
}
bool tldap_make_mod_blob(struct tldap_message *existing, TALLOC_CTX *mem_ctx,
- int *pnum_mods, struct tldap_mod **pmods,
+ struct tldap_mod **pmods, int *pnum_mods,
const char *attrib, DATA_BLOB newval)
{
return tldap_make_mod_blob_int(existing, mem_ctx, pmods, pnum_mods,