summaryrefslogtreecommitdiffstats
path: root/src/file_sp3.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_sp3.c
parent8453cfff02206ad932e8ddd3c24b34aa7c42af62 (diff)
Code cleanup after using LLVM/Clang Static Analyzer
Diffstat (limited to 'src/file_sp3.c')
-rw-r--r--src/file_sp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_sp3.c b/src/file_sp3.c
index d06e4d6..0a1893c 100644
--- a/src/file_sp3.c
+++ b/src/file_sp3.c
@@ -84,7 +84,7 @@ static int header_check_sp3(const unsigned char *buffer, const unsigned int buff
tm_time.tm_mday=h->DataExameDia-1;
tm_time.tm_mon=h->DataExameMes-1;
tm_time.tm_year=le16(h->DataExameAno)-1900;
- 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);
filesize=td_max(filesize, file_offset_end(le32(h->TimeBaseDelta_POS), le32(h->TimeBaseDelta_LEN)));
filesize=td_max(filesize, file_offset_end(le32(h->ExtraInfoFlag_POS), le32(h->ExtraInfoFlag_LEN)));