aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/calobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c
index dbc3bf2f1b..7b85fdc54c 100644
--- a/calendar/cal-util/calobj.c
+++ b/calendar/cal-util/calobj.c
@@ -306,7 +306,7 @@ daynumberlist (iCalObject *o, char **str)
if (val == 0){
struct tm *day = localtime (&o->dtstart);
- val = tm->tm_mday;
+ val = day->tm_mday;
}
o->recur->u.month_day = val;
first = 1;