s3: Convert tldap_make_mod_blob args to "array, count"
authorVolker Lendecke <vl@samba.org>
Sat, 12 Feb 2011 15:46:59 +0000 (16:46 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 13 Feb 2011 11:11:52 +0000 (12:11 +0100)
source3/include/tldap_util.h
source3/lib/tldap_util.c

index 5b2d025cc503489f05d3a55b86f9c61dea2498de..72f9ae21146dd338cd634854e0e1cb992c86e99b 100644 (file)
@@ -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,
index ce0fe3b3e8f74b975eb37ac92a73a98a2a002530..f125253afd14bf6999e0810b5c52465f5e0a4d35 100644 (file)
@@ -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,