diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-07 21:21:26 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-02-25 08:17:12 +1100 |
commit | ec536a0121a752b9211ba258ed015a821b8391ba (patch) | |
tree | 1e1411c2f65c62ce3c0f73ee5dd5eaa44d7d2dc1 /source4/ldap_server/ldap_server.c | |
parent | e912d507093b7c22130158ef0bf2c0c4ffc78bac (diff) | |
download | samba-ec536a0121a752b9211ba258ed015a821b8391ba.tar.gz |
s4:ldap_server - make it "signed-safe"
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/ldap_server/ldap_server.c')
-rw-r--r-- | source4/ldap_server/ldap_server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c index 63bfc70b2a7..28e6f21f3d9 100644 --- a/source4/ldap_server/ldap_server.c +++ b/source4/ldap_server/ldap_server.c @@ -237,7 +237,8 @@ static int ldapsrv_load_limits(struct ldapsrv_connection *conn) struct ldb_dn *basedn; struct ldb_dn *conf_dn; struct ldb_dn *policy_dn; - int i,ret; + unsigned int i; + int ret; /* set defaults limits in case of failure */ conn->limits.initial_timeout = 120; |