From: Yu Watanabe Date: Sat, 6 May 2023 15:23:44 +0000 (+0900) Subject: sd-journal: rebreak comments X-Git-Tag: v254-rc1~536^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de6b162d35ea3a8267444c766b44e70fe7234fd6;p=thirdparty%2Fsystemd.git sd-journal: rebreak comments --- diff --git a/src/libsystemd/sd-journal/journal-file.c b/src/libsystemd/sd-journal/journal-file.c index 530ec6921f4..ed5fd0b164b 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;