tree-wide: use IOVEC_MAKE() at many places

This commit is contained in:
Lennart Poettering
2018-11-27 10:12:27 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent eaf6369769
commit 5cfa2c3dc0
14 changed files with 65 additions and 72 deletions
+1 -2
View File
@@ -858,8 +858,7 @@ int log_format_iovec(
iovec[(*n)++] = IOVEC_MAKE_STRING(m);
if (newline_separator) {
iovec[*n].iov_base = (char*) &nl;
iovec[*n].iov_len = 1;
iovec[*n] = IOVEC_MAKE((char *)&nl, 1);
(*n)++;
}