Browse Source

- minor fix, use constant

development
Andreas Romeyke 8 months ago
parent
commit
28253d92a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/tagrules/check_datetime.c

+ 1
- 1
src/tagrules/check_datetime.c View File

@ -90,7 +90,7 @@ ret_t check_datetime(ctiff_t * ctif ) {
if (0 == r) {
if (6 == sscanf(datetime, "%04d:%02d:%02d%02d:%02d:%02d", &year, &month, &day, &hour, &min, &sec)) {
if (0 == test_plausibility(&year, &month, &day, &hour, &min, &sec)) {
ret.returncode=0;
ret.returncode= is_valid;
} else {
ret.returncode = tagerror_datetime_not_plausible;
}


Loading…
Cancel
Save