summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-18 18:57:38 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-18 18:57:38 +0200
commit9969cfc36cc40d37d0cd740d60f698dad3f55bbb (patch)
treef476e5db912c96c11fcc9fa07230772982f0942f
parent2e8c5639618fa4c6efb461ad4e6b51c84da8bd10 (diff)
downloadsamba-9969cfc36cc40d37d0cd740d60f698dad3f55bbb.tar.gz
samba-9969cfc36cc40d37d0cd740d60f698dad3f55bbb.tar.bz2
samba-9969cfc36cc40d37d0cd740d60f698dad3f55bbb.zip
s4:cldap_server.c - here the counter variable should be "signed"
-rw-r--r--source4/cldap_server/cldap_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c
index 8bed38b557..09c9889859 100644
--- a/source4/cldap_server/cldap_server.c
+++ b/source4/cldap_server/cldap_server.c
@@ -147,10 +147,9 @@ static NTSTATUS cldapd_add_socket(struct cldapd_server *cldapd, struct loadparm_
static NTSTATUS cldapd_startup_interfaces(struct cldapd_server *cldapd, struct loadparm_context *lp_ctx,
struct interface *ifaces)
{
- int num_interfaces;
+ int i, num_interfaces;
TALLOC_CTX *tmp_ctx = talloc_new(cldapd);
NTSTATUS status;
- unsigned int i;
num_interfaces = iface_count(ifaces);