diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2026-01-25 17:56:25 +0100 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2026-01-25 17:56:25 +0100 |
| commit | 97098feb7b8840fc851e6bab925c139bce978231 (patch) | |
| tree | 05443413ca77bd1934d23da7cb3b932ba21b8388 | |
| parent | 85b581aa94f8c99edb4ce8c9a021752fe81f5343 (diff) | |
Fix error
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1108,7 +1108,7 @@ static int ftag_sync_compare_mtimes(void) struct stat st; rc = stat(DATABASE_PATH, &st); time_t local_mtime = st.st_mtim.tv_sec; - return local_time - remote_time; + return local_mtime - remote_mtime; } static int ftag_sync_is_local_newer(void) |
