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
3d326eb5
Commit
3d326eb5
authored
Aug 24, 2009
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Aug 25, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Set WSAEINVAL on invalid levels in set+getsockopt.
parent
3e87a054
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
socket.c
dlls/ws2_32/socket.c
+4
-2
No files found.
dlls/ws2_32/socket.c
View file @
3d326eb5
...
...
@@ -2126,7 +2126,8 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
return
SOCKET_ERROR
;
default:
FIXME
(
"Unknown level: 0x%08x
\n
"
,
level
);
WARN
(
"Unknown level: 0x%08x
\n
"
,
level
);
SetLastError
(
WSAEINVAL
);
return
SOCKET_ERROR
;
}
/* end switch(level) */
}
...
...
@@ -3277,7 +3278,8 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname,
break
;
default:
FIXME
(
"Unknown level: 0x%08x
\n
"
,
level
);
WARN
(
"Unknown level: 0x%08x
\n
"
,
level
);
SetLastError
(
WSAEINVAL
);
return
SOCKET_ERROR
;
}
/* end switch(level) */
...
...
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