summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-05-07 00:23:44 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-05-07 00:26:49 +0900
commitde6b162d35ea3a8267444c766b44e70fe7234fd6 (patch)
tree3b62c422ec9d8df3734e3a8bb8c4647723543567 /src/libsystemd
parentdd03d91527b12214b577fde68b60e6b39badf55c (diff)
downloadsystemd-de6b162d35ea3a8267444c766b44e70fe7234fd6.tar.gz
sd-journal: rebreak comments
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-journal/journal-file.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/libsystemd/sd-journal/journal-file.c b/src/libsystemd/sd-journal/journal-file.c
index 530ec6921f..ed5fd0b164 100644
--- a/src/libsystemd/sd-journal/journal-file.c
+++ b/src/libsystemd/sd-journal/journal-file.c
@@ -2813,21 +2813,17 @@ static int generic_array_bisect(
ci = ordered_hashmap_get(f->chain_cache, &first);
if (ci && n > ci->total && ci->begin != 0) {
- /* Ah, we have iterated this bisection array chain
- * previously! Let's see if we can skip ahead in the
- * chain, as far as the last time. But we can't jump
- * backwards in the chain, so let's check that
- * first. */
+ /* Ah, we have iterated this bisection array chain previously! Let's see if we can skip ahead
+ * in the chain, as far as the last time. But we can't jump backwards in the chain, so let's
+ * check that first. */
r = test_object(f, ci->begin, needle);
if (r < 0)
return r;
if (r == TEST_LEFT) {
- /* OK, what we are looking for is right of the
- * begin of this EntryArray, so let's jump
- * straight to previously cached array in the
- * chain */
+ /* OK, what we are looking for is right of the begin of this EntryArray, so let's
+ * jump straight to previously cached array in the chain */
a = ci->array;
n -= ci->total;