mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
method tag should be unsigned long.
connection assert should use s, not i.
This commit is contained in:
parent
34c538fa0f
commit
d8cb38c2ef
@ -28,7 +28,8 @@ do_bind(
|
||||
)
|
||||
{
|
||||
BerElement *ber = op->o_ber;
|
||||
int version, method;
|
||||
int version;
|
||||
unsigned long method;
|
||||
char *cdn, *ndn;
|
||||
unsigned long rc;
|
||||
struct berval cred;
|
||||
|
@ -153,7 +153,7 @@ static Connection* connection_get( int s )
|
||||
#ifndef HAVE_WINSOCK
|
||||
assert( connections[s].c_struct_state == SLAP_C_USED );
|
||||
assert( connections[s].c_conn_state != SLAP_C_INVALID );
|
||||
assert( !ber_pvt_sb_in_use( connections[i].c_sb ) );
|
||||
assert( ber_pvt_sb_in_use( connections[s].c_sb ) );
|
||||
|
||||
c = &connections[s];
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user