]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix typos
authorAlan T. DeKok <aland@freeradius.org>
Thu, 16 Sep 2021 11:43:10 +0000 (07:43 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 16 Sep 2021 11:43:10 +0000 (07:43 -0400)
src/listen/cron/proto_cron_crontab.c

index 27ff8257a72e26b02fbbedf178ce5c51fbcff4fa..2c2d07befcc5c5db04680e00ef72d7f7fb33292b 100644 (file)
@@ -580,6 +580,7 @@ static void do_cron(fr_event_list_t *el, fr_time_t now, void *uctx)
 
                        (void) mktime(&w_tm); /* normalize it */
 
+                       tm_wday = w_tm.tm_wday;
                        w_day = get_next(&w_tm, &thread->inst->tab[4]);
                        fr_assert(w_day);
                }