summaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2021-12-21 18:14:49 -0700
committerAlan Somers <asomers@gmail.com>2021-12-21 18:14:49 -0700
commit6d07477fac02d14ddd885fa298346d4403c2aacb (patch)
treef3312f1d4db3e6e8da272a5c5722835fea2c85cb /src/macros.rs
parent7be98a4379c57d91c6916c0a9817267ebf18c516 (diff)
downloadnix-6d07477fac02d14ddd885fa298346d4403c2aacb.zip
UnixAddr: replace path_len with sun_len
Within UnixAddr, replace the path_len variable (length of the sun_path field) with sun_len (length of the whole structure). This is more similar to how other sockaddr types work, and it's the same way that the BSDs use the sun_len field. Also, don't require that sun_path be nul-terminated. The OS doesn't require it.
Diffstat (limited to 'src/macros.rs')
0 files changed, 0 insertions, 0 deletions