mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Fix strace result code for recv()
This commit is contained in:
parent
96abe91c29
commit
f7754ab608
1 changed files with 1 additions and 1 deletions
|
@ -66,6 +66,6 @@ ssize_t recv(int fd, void *buf, size_t size, int flags) {
|
|||
|
||||
END_CANCELATION_POINT;
|
||||
DATATRACE("recv(%d, [%#.*hhs%s], %'zu, %#x) → %'ld% lm", fd,
|
||||
MAX(0, MIN(40, rc)), buf, rc > 40 ? "..." : "", size, flags);
|
||||
MAX(0, MIN(40, rc)), buf, rc > 40 ? "..." : "", size, flags, rc);
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue