]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
™_mday?
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 16 Sep 2021 02:16:32 +0000 (21:16 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 16 Sep 2021 02:16:32 +0000 (21:16 -0500)
src/listen/cron/proto_cron_crontab.c

index 648271ff5bdcd6e1a87ac54a3c15bed7347f76da..e6192e43b1bbe483700033dbd50b985f519fffd5 100644 (file)
@@ -580,7 +580,7 @@ static void do_cron(fr_event_list_t *el, fr_time_t now, void *uctx)
 
                        (void) mktime(&w_tm); /* normalize it */
 
-                       tm_day = w_tm.tm_day;
+                       tm_day = w_tm.tm_mday;
                        w_day = get_next(&w_tm, &thread->inst->tab[4]);
                        fr_assert(w_day);
                }