From: Lennart Poettering Date: Tue, 5 Aug 2014 02:13:37 +0000 (+0200) Subject: journald: remove redundant newlines X-Git-Tag: v216~245 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8c0b803b97bb0ee6603d9be85fb6b69cd6081eaf;p=elogind.git journald: remove redundant newlines --- diff --git a/src/journal/journald-native.c b/src/journal/journald-native.c index aded99897..ac2d0ba14 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; }