From 4a6a5421113ab662a665c62ed6a24b61a5a36950 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 23 Sep 2011 08:47:53 +0200 Subject: Multiline macro cleanup This is mostly a cosmetic patch. The purpose of wrapping a multi-line macro in a do { } while(0) is to make the macro usable as a regular statement, not a compound statement. When the while(0) is terminated with a semicolon, the do { } while(0); block becomes a compound statement again. --- src/monitor/monitor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/monitor') diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 67dc7751..2d54748e 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -2347,7 +2347,8 @@ static void service_startup_handler(struct tevent_context *ev, mt_svc->pid = fork(); if (mt_svc->pid != 0) { if (mt_svc->pid == -1) { - DEBUG(0, ("Could not fork child to start service [%s]. Continuing.\n", mt_svc->name)) + DEBUG(0, ("Could not fork child to start service [%s]. " + "Continuing.\n", mt_svc->name)); return; } -- cgit