From 8c0b803b97bb0ee6603d9be85fb6b69cd6081eaf Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 5 Aug 2014 04:13:37 +0200 Subject: journald: remove redundant newlines --- src/journal/journald-native.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/journal/journald-native.c b/src/journal/journald-native.c index aded998979..ac2d0ba148 100644 --- a/src/journal/journald-native.c +++ b/src/journal/journald-native.c @@ -108,8 +108,7 @@ void server_process_native_message( /* Entry separator */ if (entry_size + n + 1 > ENTRY_SIZE_MAX) { /* data + separators + trailer */ - log_debug("Entry is too big with %u properties and %zu bytes, ignoring.", - n, entry_size); + log_debug("Entry is too big with %u properties and %zu bytes, ignoring.", n, entry_size); continue; } @@ -134,8 +133,7 @@ void server_process_native_message( /* A property follows */ /* n received properties, +1 for _TRANSPORT */ - if (!GREEDY_REALLOC(iovec, m, n + 1 + N_IOVEC_META_FIELDS + - !!object_pid * N_IOVEC_OBJECT_FIELDS)) { + if (!GREEDY_REALLOC(iovec, m, n + 1 + N_IOVEC_META_FIELDS + !!object_pid * N_IOVEC_OBJECT_FIELDS)) { log_oom(); break; } -- cgit v1.2.3-54-g00ecf