Make minor revisions to previous change

This commit is contained in:
Justine Tunney 2021-06-30 10:45:27 -07:00
parent a68cc690ff
commit 014d4bdab2
4 changed files with 6 additions and 8 deletions

View file

@ -25,7 +25,7 @@
#include "libc/sysv/errfuns.h"
textwindows int sys_getpeername_nt(struct Fd *fd, void *out_addr,
uint32_t *out_addrsize) {
uint32_t *out_addrsize) {
assert(fd->kind == kFdSocket);
if (__sys_getpeername_nt(fd->handle, out_addr, out_addrsize) != -1) {
return 0;