diff --git a/src/main/db.c b/src/main/db.c index 1e96b1f..71e5c11 100644 --- a/src/main/db.c +++ b/src/main/db.c @@ -157,6 +157,8 @@ int update_task(task_t t) { sprintf(str_due_to, "%ld", t.due_to); sqlCheck( sqlite3_bind_text(stmt, 4, str_due_to, -1, SQLITE_STATIC) ); + sqlite3_step(stmt); + sqlCheck( sqlite3_finalize(stmt) ); sqlCheck( sqlite3_close(db) ); notify_change(); diff --git a/src/main/include/config.h b/src/main/include/config.h index 40c3ada..34a65c3 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.3.2" +#define VERSION "1.3.3" #define MAX_TASK_ID 10000 // max is set to MAX_TASK_ID-1 #define NEW_TASK_ID_MAX_RETRIES 10000 // number of retries before giving up