mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#8048 fix slapo-sock result
This commit is contained in:
parent
cb3952db4b
commit
3349ca0bee
1 changed files with 8 additions and 7 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue