diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-12 16:42:37 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-02-13 12:11:52 +0100 |
commit | 67e6874651e1cf0d0015079309c15a68f4048913 (patch) | |
tree | 1fa0b90f3c42bc1e853841372731215e5f0935f0 | |
parent | 3363bab8754563f39c87de5bb91f77fcad3090f9 (diff) | |
download | samba-67e6874651e1cf0d0015079309c15a68f4048913.tar.gz samba-67e6874651e1cf0d0015079309c15a68f4048913.tar.bz2 samba-67e6874651e1cf0d0015079309c15a68f4048913.zip |
s3: Convert tldap_make_mod_blob_int args to "array, count"
-rw-r--r-- | source3/lib/tldap_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/tldap_util.c b/source3/lib/tldap_util.c index af8e13c4c6..ce0fe3b3e8 100644 --- a/source3/lib/tldap_util.c +++ b/source3/lib/tldap_util.c @@ -206,7 +206,7 @@ bool tldap_add_mod_str(TALLOC_CTX *mem_ctx, struct tldap_mod **pmods, static bool tldap_make_mod_blob_int(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, int (*comparison)(const DATA_BLOB *d1, const DATA_BLOB *d2)) @@ -274,7 +274,7 @@ bool tldap_make_mod_blob(struct tldap_message *existing, TALLOC_CTX *mem_ctx, int *pnum_mods, struct tldap_mod **pmods, const char *attrib, DATA_BLOB newval) { - return tldap_make_mod_blob_int(existing, mem_ctx, pnum_mods, pmods, + return tldap_make_mod_blob_int(existing, mem_ctx, pmods, pnum_mods, attrib, newval, data_blob_cmp); } @@ -322,7 +322,7 @@ bool tldap_make_mod_fmt(struct tldap_message *existing, TALLOC_CTX *mem_ctx, if (blob.length != 0) { blob.data = CONST_DISCARD(uint8_t *, newval); } - ret = tldap_make_mod_blob_int(existing, mem_ctx, pnum_mods, pmods, + ret = tldap_make_mod_blob_int(existing, mem_ctx, pmods, pnum_mods, attrib, blob, compare_utf8_blobs); TALLOC_FREE(newval); return ret; |