summaryrefslogtreecommitdiffstats
path: root/src/file_fits.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-11-16 12:53:21 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-11-16 12:53:21 +0100
commit07b1742903d2b483ca4afc1d39d1b644eb755e5a (patch)
treea72a91c3d25247474c5c91e5ce30a85c3e23d64d /src/file_fits.c
parent8453cfff02206ad932e8ddd3c24b34aa7c42af62 (diff)
Code cleanup after using LLVM/Clang Static Analyzer
Diffstat (limited to 'src/file_fits.c')
-rw-r--r--src/file_fits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_fits.c b/src/file_fits.c
index 037b31b..95f2afa 100644
--- a/src/file_fits.c
+++ b/src/file_fits.c
@@ -121,7 +121,7 @@ static int header_check_fits(const unsigned char *buffer, const unsigned int buf
tm_time.tm_mon=(date_asc[5]-'0')*10+(date_asc[6]-'0')-1; /* month 0-11 */
tm_time.tm_year=(date_asc[0]-'0')*1000+(date_asc[1]-'0')*100+
(date_asc[2]-'0')*10+(date_asc[3]-'0')-1900; /* year */
- tm_time.tm_isdst=-1; /* unknown daylight saving time */
+ tm_time.tm_isdst = -1; /* unknown daylight saving time */
file_recovery_new->time=mktime(&tm_time);
}
}