]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
Fix variable type.
authorThibault Godouet <yo8192@users.noreply.github.com>
Fri, 27 Dec 2024 16:10:57 +0000 (16:10 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Fri, 27 Dec 2024 16:10:57 +0000 (16:10 +0000)
fcronsighup.c

index 89eabb05fbacbbedd9b56fc980bdf8f4580fc073..7621cec958509221191abf2e5afb23d22035d19f 100644 (file)
@@ -98,7 +98,7 @@ sig_daemon(void)
     if (max_delay_s > 0) {
         time_t now_epoch = 0;
         int delay_s = 0;
-        time_t *target_time_epoch = NULL;
+        time_t target_time_epoch = 0;
         struct tm *target_time_tm = NULL;
         FILE *fp = NULL;
         int fd = 0;