logd: move stripping of newlines to log_add()
authorFelix Fietkau <nbd@nbd.name>
Mon, 6 Nov 2017 10:48:52 +0000 (11:48 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 6 Nov 2017 10:48:52 +0000 (11:48 +0100)
commit2c0d9cfe05e9712d44622c6bb4558e97359bfb76
tree670b1cd6b21b3967eb8c2746f97629a31bfbb82f
parenta0819044b14ec34450d2fcab33fb15232e8164fa
logd: move stripping of newlines to log_add()

Signed-off-by: Felix Fietkau <nbd@nbd.name>
log/syslog.c