summaryrefslogtreecommitdiff
path: root/src/journal/journald-native.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-05 04:13:37 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-05 04:14:02 +0200
commit8c0b803b97bb0ee6603d9be85fb6b69cd6081eaf (patch)
treebec56fe9f10070fc5d1499f9a7f0f1079b44d78c /src/journal/journald-native.c
parenta174f94d529c7ae9be589867308b669ec9b4dcc0 (diff)
journald: remove redundant newlines
Diffstat (limited to 'src/journal/journald-native.c')
-rw-r--r--src/journal/journald-native.c6
1 files 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;
}