diff options
author | Ariadna Vigo <arivigodr@gmail.com> | 2020-08-23 11:08:01 +0200 |
---|---|---|
committer | Ariadna Vigo <arivigodr@gmail.com> | 2020-08-23 11:08:01 +0200 |
commit | 2b9cfdf2ad8eead03e53c9938edebb6e4ec74e20 (patch) | |
tree | f4e2340080d0aa2d6131006c0443043fd1fb1c1e | |
parent | d65f8d7ad416f7f6499559282732307d85be7131 (diff) |
Fixed segfault when reading expired files
-rw-r--r-- | cras.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -142,8 +142,7 @@ read_crasfile(TaskLst *list, const char *crasfile) if (task_lst_expired(*list) > 0) { task_lst_cleanup(list); - die("Due date passed (%d list overdue).", - task_lst_count_todo(*list)); + die("Due date passed."); } return 0; |