Skip to content
Snippets Groups Projects
Commit d8cb38c2 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

method tag should be unsigned long.

connection assert should use s, not i.
parent 34c538fa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment