aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-05-01 07:58:41 +0530
committersinanmohd <sinan@sinanmohd.com>2024-05-01 07:58:41 +0530
commit176bea08417a3ad89848491a357f73591045ed3c (patch)
tree47c8f8e8e4ca8431125c1acb5b23ea146d8eba5a /src
parent14a5ba837f78bca9d524d29b9800869173fe45ba (diff)
c/format: properly handle `ForEachMacros`
Diffstat (limited to 'src')
-rw-r--r--src/npassd/service.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/npassd/service.c b/src/npassd/service.c
index 8fa1b19..f69ac22 100644
--- a/src/npassd/service.c
+++ b/src/npassd/service.c
@@ -152,10 +152,10 @@ void service_free(struct service *service)
struct session *s;
struct collection *c;
- LIST_FOREACH(s, &service->sessions, dlist)
- session_free(s);
- LIST_FOREACH(c, &service->collections, dlist)
- collection_free(c);
+ LIST_FOREACH (s, &service->sessions, dlist)
+ session_free(s);
+ LIST_FOREACH (c, &service->collections, dlist)
+ collection_free(c);
sd_bus_slot_unref(service->slot);
}