From de02634c73ae8a732cee78dc9953bc049a8f3cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 8 May 2021 11:40:47 +0200 Subject: [PATCH] sd-event: tweak comments --- src/libsystemd/sd-event/sd-event.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/sd-event/sd-event.c index 172be4e07e..9fba09ba28 100644 --- a/src/libsystemd/sd-event/sd-event.c +++ b/src/libsystemd/sd-event/sd-event.c @@ -3462,11 +3462,11 @@ static int source_dispatch(sd_event_source *s) { * invalidate the event. */ saved_type = s->type; - /* Similar, store a reference to the event loop object, so that we can still access it after the + /* Similarly, store a reference to the event loop object, so that we can still access it after the * callback might have invalidated/disconnected the event source. */ saved_event = sd_event_ref(s->event); - /* Check if we hit the ratelimit for this event source, if so, let's disable it. */ + /* Check if we hit the ratelimit for this event source, and if so, let's disable it. */ assert(!s->ratelimited); if (!ratelimit_below(&s->rate_limit)) { r = event_source_enter_ratelimited(s); @@ -3485,8 +3485,7 @@ static int source_dispatch(sd_event_source *s) { if (s->type != SOURCE_POST) { sd_event_source *z; - /* If we execute a non-post source, let's mark all - * post sources as pending */ + /* If we execute a non-post source, let's mark all post sources as pending. */ SET_FOREACH(z, s->event->post_sources) { if (event_source_is_offline(z))