projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make getmntent_r discard long lines when it returns error, not seek back
[musl]
/
src
/
network
/
sendmsg.c
diff --git
a/src/network/sendmsg.c
b/src/network/sendmsg.c
index
047c0ef
..
164c28d
100644
(file)
--- a/
src/network/sendmsg.c
+++ b/
src/network/sendmsg.c
@@
-5,7
+5,6
@@
ssize_t sendmsg(int fd, const struct msghdr *msg, int flags)
{
ssize_t sendmsg(int fd, const struct msghdr *msg, int flags)
{
- ssize_t r;
#if LONG_MAX > INT_MAX
struct msghdr h;
if (msg) {
#if LONG_MAX > INT_MAX
struct msghdr h;
if (msg) {
@@
-14,8
+13,5
@@
ssize_t sendmsg(int fd, const struct msghdr *msg, int flags)
msg = &h;
}
#endif
msg = &h;
}
#endif
- CANCELPT_BEGIN;
- r = socketcall(sendmsg, fd, msg, flags, 0, 0, 0);
- CANCELPT_END;
- return r;
+ return socketcall_cp(sendmsg, fd, msg, flags, 0, 0, 0);
}
}