tree-wide: use IOVEC_MAKE() at many places
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
eaf6369769
commit
5cfa2c3dc0
+1
-2
@@ -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)++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user