aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index f5e36c2..11774e4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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)