method tag should be unsigned long.

connection assert should use s, not i.
This commit is contained in:
Kurt Zeilenga 1999-05-19 07:15:16 +00:00
parent 34c538fa0f
commit d8cb38c2ef
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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