]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
Applied formatting.
authorThibault Godouet <yo8192@users.noreply.github.com>
Sat, 22 Feb 2025 15:06:22 +0000 (15:06 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Sat, 22 Feb 2025 15:06:22 +0000 (15:06 +0000)
database.c
fcron.c

index 884dd03c9090f83b1c6dc8d4eb5a40634642bc55..1762e61e3552007d85018bb56c959ef51fa64723 100644 (file)
@@ -185,7 +185,8 @@ run_normal_job(cl_t *line, int info_fd)
         send_msg_fd(info_fd, "Job '%s' started.", line->cl_shell);
     }
     else {
-        warn_fd(info_fd, "    Skipping execution of already running job: %s's '%s'",
+        warn_fd(info_fd,
+                "    Skipping execution of already running job: %s's '%s'",
                 line->cl_file->cf_user, line->cl_shell);
     }
 
@@ -1523,14 +1524,19 @@ set_next_exe_startup(struct cl_t *cl, const int context,
                 else {
                     /* run bootrun jobs */
                     cl->cl_remain = cl->cl_runfreq;
-                    debug("   bootrun job should have run during down time '%s'", cl->cl_shell);
+                    debug
+                        ("   bootrun job should have run during down time '%s'",
+                         cl->cl_shell);
                     if (!is_lavg(cl->cl_option)) {
-                        explain("   Adding bootrun job to the serial queue: '%s'", cl->cl_shell);
+                        explain
+                            ("   Adding bootrun job to the serial queue: '%s'",
+                             cl->cl_shell);
                         set_serial_once(cl->cl_option);
                         add_serial_job(cl, -1);
                     }
                     else {
-                        explain("   Adding bootrun job to the lavg queue: '%s'", cl->cl_shell);
+                        explain("   Adding bootrun job to the lavg queue: '%s'",
+                                cl->cl_shell);
                         add_lavg_job(cl, -1);
                     }
                 }
diff --git a/fcron.c b/fcron.c
index 0be26047ca46138e07795af49bd2e0934ddf471f..2bc641eab2d78dbb1cd0656bb50aa49ce2106f8b 100644 (file)
--- a/fcron.c
+++ b/fcron.c
@@ -584,7 +584,7 @@ set_signal_handler(int signal, void (*handler)(int), bool first_install)
 }
 
 void
-install_signal_handler(int signal, void (*handler)(int))
+install_signal_handler(int signal, void(*handler)(int))
 {
     set_signal_handler(signal, handler, true);
 }