summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorunknown <unknown@redhat.com>2005-05-24 01:14:56 +0000
committerunknown <unknown@redhat.com>2005-05-24 01:14:56 +0000
commit87e8b9ab962cceef3d625b18494a7ab532990a3e (patch)
tree640999f4a247ad1332e8eafb3a85a23f6aeb13e0
parent0421c694c91c054a9a59d7d90b3e790834fc52e9 (diff)
parent5a8395d602f17c52bcbd14269317ee301d17be3c (diff)
downloadds71_20050522.tar.gz
ds71_20050522.tar.xz
ds71_20050522.zip
This commit was manufactured by cvs2git to create tag 'ds71_20050522'.ds71_20050522
-rw-r--r--ldap/servers/plugins/chainingdb/cb_controls.c2
-rw-r--r--ldap/servers/plugins/chainingdb/cb_utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/plugins/chainingdb/cb_controls.c b/ldap/servers/plugins/chainingdb/cb_controls.c
index c52a1240..41cf5ed2 100644
--- a/ldap/servers/plugins/chainingdb/cb_controls.c
+++ b/ldap/servers/plugins/chainingdb/cb_controls.c
@@ -144,7 +144,7 @@ int cb_update_controls( Slapi_PBlock * pb,
cb_backend * cbb;
Slapi_Backend * be;
int rc=LDAP_SUCCESS;
- long hops=0;
+ int hops=0;
int useloop=0;
int addauth = (ctrl_flags & CB_UPDATE_CONTROLS_ADDAUTH);
int isabandon = (ctrl_flags & CB_UPDATE_CONTROLS_ISABANDON);
diff --git a/ldap/servers/plugins/chainingdb/cb_utils.c b/ldap/servers/plugins/chainingdb/cb_utils.c
index 873fc872..056622d5 100644
--- a/ldap/servers/plugins/chainingdb/cb_utils.c
+++ b/ldap/servers/plugins/chainingdb/cb_utils.c
@@ -176,7 +176,7 @@ int cb_forward_operation(Slapi_PBlock * pb ) {
/* Decode control data */
/* hop INTEGER (0 .. maxInt) */
- long hops = 0;
+ int hops = 0;
int rc;
BerElement *ber = NULL;