From 672fd03e83f0333e8d8cb98c222520cd61a2f7a9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 5 Jun 2024 06:15:13 +0200 Subject: Merging upstream version 5.7.3. Signed-off-by: Daniel Baumann --- lib/selection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/selection.c') diff --git a/lib/selection.c b/lib/selection.c index c25782e..cce5d42 100644 --- a/lib/selection.c +++ b/lib/selection.c @@ -149,7 +149,7 @@ struct rtt_state get_rtt_state(const uint8_t *ip, size_t len, knot_db_val_t key = cache_key(ip, len); - if (cache->api->read(db, stats, &key, &value, 1)) { + if (cache->api->read(db, stats, &key, &value, 1)) { // NOLINT(bugprone-branch-clone) state = default_rtt_state; } else if (kr_fails_assert(value.len == sizeof(struct rtt_state))) { // shouldn't happen but let's be more robust -- cgit v1.2.3