summaryrefslogtreecommitdiffstats
path: root/tasklst.c
diff options
context:
space:
mode:
Diffstat (limited to 'tasklst.c')
-rw-r--r--tasklst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasklst.c b/tasklst.c
index eabff87..51d26ef 100644
--- a/tasklst.c
+++ b/tasklst.c
@@ -37,9 +37,9 @@ tasklst_init(TaskLst *tasks)
}
void
-tasklst_set_expiration(TaskLst *tasks)
+tasklst_set_expiration(TaskLst *tasks, int64_t delta)
{
- tasks->expiry = time(NULL) + TASK_LST_EXPIRY;
+ tasks->expiry = time(NULL) + delta;
}
int