Forgot to update daemon.c

This commit is contained in:
augustin64 2023-09-29 18:51:12 +02:00
parent 42d9d1e5c0
commit a60055ff7e
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ void* inotify_check_changes(void* arg) {
log_debug("Base de données changée"); log_debug("Base de données changée");
pthread_mutex_lock(&tasks_lock); pthread_mutex_lock(&tasks_lock);
free_task_list(tasks); free_task_list(tasks);
tasks = get_task_list(false); tasks = get_task_list(false, false);
has_changed = true; has_changed = true;
pthread_mutex_unlock(&tasks_lock); pthread_mutex_unlock(&tasks_lock);
@ -105,7 +105,7 @@ int main() {
return 1; 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_t inotify_id = 0; // Lancement d'inotify dans un autre fil
pthread_create(&inotify_id, NULL, inotify_check_changes, NULL); pthread_create(&inotify_id, NULL, inotify_check_changes, NULL);

View File

@ -1,7 +1,7 @@
#ifndef DEF_CONFIG_H #ifndef DEF_CONFIG_H
#define 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 // By default, $HOME/.config/takl.sqlite3 is used. You can change this behaviour here
//#define DB_FILE "takl.sqlite3" //#define DB_FILE "takl.sqlite3"