diff --git a/src/daemon.c b/src/daemon.c index 7129187..e9177fc 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -60,7 +60,7 @@ void* inotify_check_changes(void* arg) { log_debug("Base de données changée"); pthread_mutex_lock(&tasks_lock); free_task_list(tasks); - tasks = get_task_list(false); + tasks = get_task_list(false, false); has_changed = true; pthread_mutex_unlock(&tasks_lock); @@ -105,7 +105,7 @@ int main() { return 1; } - tasks = get_task_list(false); + tasks = get_task_list(false, false); pthread_t inotify_id = 0; // Lancement d'inotify dans un autre fil pthread_create(&inotify_id, NULL, inotify_check_changes, NULL); diff --git a/src/main/include/config.h b/src/main/include/config.h index 863a87b..855f73b 100644 --- a/src/main/include/config.h +++ b/src/main/include/config.h @@ -1,7 +1,7 @@ #ifndef DEF_CONFIG_H #define DEF_CONFIG_H -#define VERSION "1.2.0" +#define VERSION "1.2.1" // By default, $HOME/.config/takl.sqlite3 is used. You can change this behaviour here //#define DB_FILE "takl.sqlite3"