commit 373731f2a04491ea2ec590ee246a329f09320167 parent 7c9c34ef22a2af736dac5815d7f1eb392fe7a4fe Author: Naveen Narayanan <zerous@nocebo.space> Date: Sat, 25 Sep 2021 23:54:59 +0200 Fix bug var i wasn't being used in the loop Diffstat:
M | parser.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parser.c b/parser.c @@ -96,7 +96,7 @@ day(struct tm *tm) if ((n = strlen(tp)) > 2 && n == 0) return 0; - for (int i = 0; i < n; ++i) + for (i = 0; i < n; ++i) str[i] = *tp++; str[i] = '\0';