diff options
author | 2014-10-29 15:28:51 +0000 | |
---|---|---|
committer | 2014-10-29 15:28:51 +0000 | |
commit | 4e239eaff70e6fa0a811f306a0ddcee906676607 (patch) | |
tree | d8ca571128255b71909e60d70b91b021968b2554 /usr.sbin/syslogd/syslogd.c | |
parent | Update test outputs to reflect the fact that routes to loopback addresses (diff) | |
download | wireguard-openbsd-4e239eaff70e6fa0a811f306a0ddcee906676607.tar.xz wireguard-openbsd-4e239eaff70e6fa0a811f306a0ddcee906676607.zip |
Calling a function to htonl() a constant 32-bit value into a stack
variable and memcpy() that value into 4 bytes of malloc()'d space
seems roundabout.
Just memcpy() a four byte constant string into the malloc()'d space
as required and kill putULong(). No functional change.
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
0 files changed, 0 insertions, 0 deletions