Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bc52612f
Commit
bc52612f
authored
Nov 14, 2005
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Nov 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a test for InternetCreateUrlA as no Windows platform sets last
error here. Make InternetCreateUrlA pass the test.
parent
9d2c6a9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
internet.c
dlls/wininet/internet.c
+0
-2
http.c
dlls/wininet/tests/http.c
+2
-2
No files found.
dlls/wininet/internet.c
View file @
bc52612f
...
...
@@ -3584,8 +3584,6 @@ static BOOL calc_url_length(LPURL_COMPONENTSW lpUrlComponents,
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
FALSE
;
}
else
SetLastError
(
ERROR_ALREADY_EXISTS
);
}
if
(
lpUrlComponents
->
lpszPassword
)
...
...
dlls/wininet/tests/http.c
View file @
bc52612f
...
...
@@ -784,8 +784,8 @@ static void InternetCreateUrlA_test()
len
=
42
;
ret
=
InternetCreateUrlA
(
&
urlComp
,
0
,
szUrl
,
&
len
);
ok
(
ret
,
"Expected success
\n
"
);
ok
(
GetLastError
()
==
ERROR_ALREADY_EXISTS
,
"Expected
ERROR_ALREADYEXISTS
, got %ld
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected
0xdeadbeef
, got %ld
\n
"
,
GetLastError
());
ok
(
len
==
32
,
"Expected len 32, got %ld
\n
"
,
len
);
ok
(
!
strcmp
(
szUrl
,
CREATE_URL4
),
"Expected %s, got %s
\n
"
,
CREATE_URL3
,
szUrl
);
...
...
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