projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AsyncIO::cancel
[folly.git]
/
folly
/
portability
/
Sockets.cpp
diff --git
a/folly/portability/Sockets.cpp
b/folly/portability/Sockets.cpp
index 68f70c860681a8821ea541a32801394a22dd24f6..b5f0b7d517de83ef1e410f13362ecb2fb6111e79 100755
(executable)
--- a/
folly/portability/Sockets.cpp
+++ b/
folly/portability/Sockets.cpp
@@
-256,7
+256,7
@@
ssize_t recvfrom(
return recvfrom(s, (void*)buf, (size_t)len, flags, from, fromlen);
}
return recvfrom(s, (void*)buf, (size_t)len, flags, from, fromlen);
}
-ssize_t recvmsg(int s, struct msghdr* message, int
fl
) {
+ssize_t recvmsg(int s, struct msghdr* message, int
/* flags */
) {
SOCKET h = fd_to_socket(s);
// Don't currently support the name translation.
SOCKET h = fd_to_socket(s);
// Don't currently support the name translation.
@@
-313,7
+313,7
@@
ssize_t send(int s, const void* buf, int len, int flags) {
return send(s, (const void*)buf, (size_t)len, flags);
}
return send(s, (const void*)buf, (size_t)len, flags);
}
-ssize_t sendmsg(int s, const struct msghdr* message, int
fl
) {
+ssize_t sendmsg(int s, const struct msghdr* message, int
/* flags */
) {
SOCKET h = fd_to_socket(s);
// Unfortunately, WSASendMsg requires the socket to have been opened
SOCKET h = fd_to_socket(s);
// Unfortunately, WSASendMsg requires the socket to have been opened