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
1d134f74
Commit
1d134f74
authored
Oct 13, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Return failure in GetContentType if content type is not available.
parent
b7c257bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
nsio.c
dlls/mshtml/nsio.c
+2
-3
No files found.
dlls/mshtml/nsio.c
View file @
1d134f74
...
...
@@ -502,9 +502,8 @@ static nsresult NSAPI nsChannel_GetContentType(nsIHttpChannel *iface, nsACString
if
(
This
->
channel
)
return
nsIChannel_GetContentType
(
This
->
channel
,
aContentType
);
TRACE
(
"returning default text/html
\n
"
);
nsACString_SetData
(
aContentType
,
"text/html"
);
return
NS_OK
;
WARN
(
"unknown type
\n
"
);
return
NS_ERROR_FAILURE
;
}
static
nsresult
NSAPI
nsChannel_SetContentType
(
nsIHttpChannel
*
iface
,
...
...
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