aboutsummaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-10-07 14:45:42 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-07 08:36:10 -0700
commite78f89b0d897bf479737bfca0b4c2a6d6523368f (patch)
tree5971eea73ab25acdfdeb4d7d7ed041dd0a6e1d56 /core/downloadfromdcthread.h
parent1b0812a8cb70a767b029daf82d9251fa7dcc0afb (diff)
downloadsubsurface-e78f89b0d897bf479737bfca0b4c2a6d6523368f.tar.gz
Safeguards for Liquivision import
I have received one sample log where after parsing a bunch of dives properly, the sample count hits zero, and after that it is astronomical. In case of zero, the only data we have is dive date and time of a duplicate dive that we already parsed with proper dive profile. So preventing a crash with this hack without properly understanding the weird file format. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'core/downloadfromdcthread.h')
0 files changed, 0 insertions, 0 deletions