summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2014-10-29 15:28:51 +0000
committerkrw <krw@openbsd.org>2014-10-29 15:28:51 +0000
commit4e239eaff70e6fa0a811f306a0ddcee906676607 (patch)
treed8ca571128255b71909e60d70b91b021968b2554 /usr.sbin/syslogd/syslogd.c
parentUpdate test outputs to reflect the fact that routes to loopback addresses (diff)
downloadwireguard-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