diff options
author | kn <kn@cvs.openbsd.org> | 2018-08-10 09:54:07 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2018-08-10 09:54:07 +0000 |
commit | 5076b9bd3d5cd5fe2172961dae0f611187b1bbad (patch) | |
tree | f377544fa5630479b118363f7ef75c144f90274d /sys/lib/libz | |
parent | 8f7cdde1bab569260af0393ab33a50c94c1d1b80 (diff) |
Zap bits in host_v4(), use mask parameter
This avoids a duplicate strrchr() call and makes the function consistent
with host_v6() regarding mask handling.
While here, use the destination's size in memcpy instead of hardcoding its
type.
OK sashan
Diffstat (limited to 'sys/lib/libz')
0 files changed, 0 insertions, 0 deletions