summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2014-12-30 23:27:23 +0000
committermillert <millert@openbsd.org>2014-12-30 23:27:23 +0000
commitdbe8ea0f6b22676f96d76dab7879cf042b764f0e (patch)
tree015d8f5aa890068281df1784b236374aea92ccad /usr.sbin/syslogd/syslogd.c
parentRemove some checks that will always evaluate to true. Noticed by a very (diff)
downloadwireguard-openbsd-dbe8ea0f6b22676f96d76dab7879cf042b764f0e.tar.xz
wireguard-openbsd-dbe8ea0f6b22676f96d76dab7879cf042b764f0e.zip
Use a 1MB realloc() increment instead of an 8KB one for the config
connection buffer. Significantly speeds up spamd-setup for lage blacklists. Also free the buffer when we are done with it so memory can be returned to the system (as it can grow quite large). OK deraadt@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
0 files changed, 0 insertions, 0 deletions