Skip to content
Snippets Groups Projects
Commit 7a4fbff6 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#8048 fix slapo-sock result

parent 30360559
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,14 @@ sock_read_and_send_results(
continue;
}
if ( strncasecmp( line, "CONTINUE", 8 ) == 0 ) {
struct sockinfo *si = (struct sockinfo *) op->o_bd->be_private;
/* Only valid when operating as an overlay! */
assert( si->si_ops != 0 );
rs->sr_err = SLAP_CB_CONTINUE;
goto skip;
}
len = strlen( line );
while ( bp + len + 1 - buf > bsize ) {
size_t offset = bp - buf;
......@@ -92,13 +100,6 @@ sock_read_and_send_results(
if ( strncasecmp( buf, "RESULT", 6 ) == 0 ) {
break;
}
if ( strncasecmp( buf, "CONTINUE", 8 ) == 0 ) {
struct sockinfo *si = (struct sockinfo *) op->o_bd->be_private;
/* Only valid when operating as an overlay! */
assert( si->si_ops != 0 );
rs->sr_err = SLAP_CB_CONTINUE;
goto skip;
}
if ( (rs->sr_entry = str2entry( buf )) == NULL ) {
Debug( LDAP_DEBUG_ANY, "str2entry(%s) failed\n",
......
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