Skip to content

Commit 7136947

Browse files
committed
POR reader: more permissive timestamps
1 parent c09334e commit 7136947

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/spss/readstat_por_read.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,7 @@ readstat_error_t read_version_and_timestamp(por_ctx_t *ctx) {
682682
goto cleanup;
683683
}
684684
if (sscanf(string, "%02d%02d%02d", &timestamp.tm_hour, &timestamp.tm_min, &timestamp.tm_sec) != 3) {
685-
retval = READSTAT_ERROR_BAD_TIMESTAMP_STRING;
686-
goto cleanup;
685+
/* optional */
687686
}
688687

689688
timestamp.tm_year -= 1900;

0 commit comments

Comments
 (0)