git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8215409
)
tldap: Use "size_t" for talloc_array_length result
author
Volker Lendecke
<vl@samba.org>
Sun, 10 Jan 2016 10:29:40 +0000
(11:29 +0100)
committer
Ralph Boehme
<slow@samba.org>
Sun, 10 Jan 2016 21:24:17 +0000
(22:24 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/tldap.c
patch
|
blob
|
history
diff --git
a/source3/lib/tldap.c
b/source3/lib/tldap.c
index 9732fd6a04048ac8395408277a45044cef8325ba..85d3d478e817ddb2eb750438f685ceaa8764f9ec 100644
(file)
--- a/
source3/lib/tldap.c
+++ b/
source3/lib/tldap.c
@@
-168,7
+168,7
@@
bool tldap_connection_ok(struct tldap_context *ld)
static struct tldap_ctx_attribute *tldap_context_findattr(
struct tldap_context *ld, const char *name)
{
-
in
t i, num_attrs;
+
size_
t i, num_attrs;
num_attrs = talloc_array_length(ld->ctx_attrs);