git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b492a1
)
s3: Convert tldap_add_blob_vals args to "array, count"
author
Volker Lendecke
<vl@samba.org>
Sat, 12 Feb 2011 15:37:02 +0000
(16:37 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 13 Feb 2011 11:11:52 +0000
(12:11 +0100)
source3/lib/tldap_util.c
patch
|
blob
|
history
diff --git
a/source3/lib/tldap_util.c
b/source3/lib/tldap_util.c
index f46cfc834d554c55d0696d116eb21c7368730371..af8e13c4c664dc4e68e9ee522fc43585bdc8dcb2 100644
(file)
--- 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, n
um_newvals,
newvals)) {
+ && !tldap_add_blob_vals(mods, mod, n
ewvals, num_
newvals)) {
return false;
}