diff options
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -819,7 +819,7 @@ static val sock_mark_connected(val sock) if (sfd) { val family = sock_family(sock); - struct sockaddr_storage sa = { 0 }; + struct sockaddr_storage sa = all_zero_init; socklen_t salen = sizeof sa; (void) getpeername(c_num(sfd), coerce(struct sockaddr *, &sa), &salen); |