summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/psearch.c
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2006-09-01 21:25:14 +0000
committerNathan Kinder <nkinder@redhat.com>2006-09-01 21:25:14 +0000
commit0c389297612bdc3818f27a05116d7a00609d94c2 (patch)
tree176fe2efefe3251f13942af22b008bee97f9f65a /ldap/servers/slapd/psearch.c
parenta656383901931edb24e5c3e4943931b0acff0a9c (diff)
downloadds-0c389297612bdc3818f27a05116d7a00609d94c2.tar.gz
ds-0c389297612bdc3818f27a05116d7a00609d94c2.tar.xz
ds-0c389297612bdc3818f27a05116d7a00609d94c2.zip
204517 - Cleaned up usage of ber_printf to use new ber types
Diffstat (limited to 'ldap/servers/slapd/psearch.c')
-rw-r--r--ldap/servers/slapd/psearch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ldap/servers/slapd/psearch.c b/ldap/servers/slapd/psearch.c
index f6e082e1..ba010353 100644
--- a/ldap/servers/slapd/psearch.c
+++ b/ldap/servers/slapd/psearch.c
@@ -111,7 +111,7 @@ static PSearch *psearch_alloc();
static void ps_add_ps( PSearch *ps );
static void ps_remove( PSearch *dps );
static void pe_ch_free( PSEQNode **pe );
-static int create_entrychange_control( int chgtype, int chgnum,
+static int create_entrychange_control( ber_int_t chgtype, ber_int_t chgnum,
const char *prevdn, LDAPControl **ctrlp );
@@ -515,8 +515,8 @@ ps_wakeup_all()
* client in the EntryChangeNotification control.
*/
void
-ps_service_persistent_searches( Slapi_Entry *e, Slapi_Entry *eprev, int chgtype,
- int chgnum )
+ps_service_persistent_searches( Slapi_Entry *e, Slapi_Entry *eprev, ber_int_t chgtype,
+ ber_int_t chgnum )
{
LDAPControl *ctrl = NULL;
PSearch *ps = NULL;
@@ -707,7 +707,7 @@ ps_parse_control_value( struct berval *psbvp, ber_int_t *changetypesp, int *chan
* If chgnum is 0 we omit it from the control.
*/
static int
-create_entrychange_control( int chgtype, int chgnum, const char *dn,
+create_entrychange_control( ber_int_t chgtype, ber_int_t chgnum, const char *dn,
LDAPControl **ctrlp )
{
int rc;