Add support for -k: option --- applies command only to *queued* reminders.

This commit is contained in:
Dianne Skoll
2023-03-13 15:16:24 -04:00
parent 8ed49ead7f
commit e3ec6565e9
6 changed files with 35 additions and 9 deletions
+1 -1
View File
@@ -267,7 +267,7 @@ void HandleQueuedReminders(void)
/* Set up global variables so some functions like trigdate()
and trigtime() work correctly */
SaveAllTriggerInfo(&(q->t), &(q->tt), DSEToday, q->tt.ttime, 1);
(void) TriggerReminder(&p, &trig, &q->tt, DSEToday);
(void) TriggerReminder(&p, &trig, &q->tt, DSEToday, 1);
if (Daemon < 0) {
printf("NOTE endreminder\n");
}