Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3c7fddbc
Commit
3c7fddbc
authored
Apr 20, 2020
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Set count and result to 0 when returning LDAP_NO_RESULTS_RETURNED.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
82bcbcc5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
page.c
dlls/wldap32/page.c
+2
-0
parse.c
dlls/wldap32/tests/parse.c
+0
-2
No files found.
dlls/wldap32/page.c
View file @
3c7fddbc
...
...
@@ -185,6 +185,8 @@ ULONG CDECL ldap_get_next_page_s( WLDAP32_LDAP *ld, PLDAPSearch search,
if
(
search
->
cookie
&&
search
->
cookie
->
bv_len
==
0
)
{
/* end of paged results */
*
count
=
0
;
*
results
=
NULL
;
return
WLDAP32_LDAP_NO_RESULTS_RETURNED
;
}
...
...
dlls/wldap32/tests/parse.c
View file @
3c7fddbc
...
...
@@ -264,9 +264,7 @@ static void test_ldap_paged_search(void)
res
=
(
void
*
)
0xdeadbeef
;
ret
=
ldap_get_next_page_s
(
ld
,
search
,
NULL
,
1
,
&
count
,
&
res
);
ok
(
ret
==
LDAP_NO_RESULTS_RETURNED
,
"got 0x%x
\n
"
,
ret
);
todo_wine
ok
(
!
res
,
"expected res == NULL
\n
"
);
todo_wine
ok
(
count
==
0
,
"got %u
\n
"
,
count
);
ldap_search_abandon_page
(
ld
,
search
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment