adsldp: Fix a typo in IDirectorySearch::GetNextRow().

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2020-04-06 18:11:09 +08:00 committed by Alexandre Julliard
parent 31d9d0f7f3
commit bd34ffbdda
1 changed files with 1 additions and 1 deletions

View File

@ -1317,7 +1317,7 @@ static HRESULT WINAPI search_GetNextRow(IDirectorySearch *iface, ADS_SEARCH_HAND
if (ldap_ctx->pos >= ldap_ctx->count) if (ldap_ctx->pos >= ldap_ctx->count)
return S_ADS_NOMORE_ROWS; return S_ADS_NOMORE_ROWS;
ldap_ctx->entry = ldap_next_entry(ldap->ld, ldap_ctx->res); ldap_ctx->entry = ldap_next_entry(ldap->ld, ldap_ctx->entry);
} }
if (!ldap_ctx->entry) if (!ldap_ctx->entry)