aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 148712f..b81b1de 100644
--- a/src/main.c
+++ b/src/main.c
@@ -242,7 +242,7 @@ static void ftag_add_one_file(sqlite3 *db,
tm.tm_year -= 1900;
tm.tm_mon -= 1;
date = mktime(&tm);
- if (rc != 3) {
+ if (rc <= 0) {
perror("sccanf");
exit(EXIT_FAILURE);
}