From: Volker Lendecke Date: Sat, 12 Feb 2011 15:46:59 +0000 (+0100) Subject: s3: Convert tldap_make_mod_blob args to "array, count" X-Git-Tag: tevent-0.9.11~706 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6375e6993e38483fe2dfb3ce5d039b20b950b438;p=thirdparty%2Fsamba.git s3: Convert tldap_make_mod_blob args to "array, count" --- diff --git a/source3/include/tldap_util.h b/source3/include/tldap_util.h index 5b2d025cc50..72f9ae21146 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 ce0fe3b3e8f..f125253afd1 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,