]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: logs: pass the trailing "\n" as an iovec
authorDragan Dosen <ddosen@haproxy.com>
Mon, 28 Sep 2015 14:01:03 +0000 (16:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Sep 2015 16:31:09 +0000 (18:31 +0200)
commit5b78d9b437bc72e1c1112adf4d98c8e9e13c4a52
treecf1efa6637978532fd83d32ab09bcffc2ae922de
parentc8cfa7b4f304b1ec26f0a5e995558d78d35e7e7c
MEDIUM: logs: pass the trailing "\n" as an iovec

This patch passes the trailing "\n" as an iovec in the function
__send_log(), so that we don't need to modify the original log message.
include/types/log.h
src/log.c