Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept
authorguenther <guenther@openbsd.org>
Sun, 11 Oct 2015 00:26:23 +0000 (00:26 +0000)
committerguenther <guenther@openbsd.org>
Sun, 11 Oct 2015 00:26:23 +0000 (00:26 +0000)
commitfbc54f53c124f3b8dfe4b786a5744672be6c9b27
tree2eb3283c4db5fe088c9b05155b2239c33b42c9af
parent633a11795a5b6434616348d92d13dd60822b0601
Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept
sizeof(struct sockaddr_un), so do the simple, portable thing

ok beck@ deraadt@
usr.bin/nc/netcat.c
usr.bin/tmux/client.c
usr.bin/tmux/server.c