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

ITS#7451 fix back-ldif return on empty dir

Broken by commit 2d1af3f2
parent 2fe7b5fe
No related branches found
No related tags found
No related merge requests found
......@@ -1780,7 +1780,7 @@ ldif_tool_entry_first_x( BackendDB *be, struct berval *base, int scope, Filter *
op.ors_scope = LDAP_SCOPE_SUBTREE;
if ( search_tree( &op, NULL ) != LDAP_SUCCESS ) {
tl->ecurrent = tl->ecount; /* fail ldif_tool_entry_next() */
return 0; /* fail ldif_tool_entry_get() */
return NOID; /* fail ldif_tool_entry_get() */
}
}
return ldif_tool_entry_next( be );
......
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