summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-08 12:53:32 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-08 12:53:32 +1100
commit5692131a79f2adcfabc30804ccac62e077df402d (patch)
treea9c703f4a9166cc6aada2893f3e050375d83d401 /dive.c
parentb18c34373f2c5e90e1d311f28e5a9ae12c6d1be3 (diff)
downloadsubsurface-5692131a79f2adcfabc30804ccac62e077df402d.tar.gz
Fix Uemis downloader to download all matching dive infomration
The Uemis SDA returns the data for each dive from several different databases. And oddly, the getDive data uses a different key than the getDivelog data. We have always compensated for that by looking up the correct key and applying the data to that dive, but unfortunately we didn't adjust the loop to correctly retrieve the getDive data for the dives that were downloaded. So depending on how big the offset between those two keys was we wouldn't get all of the necessary data. With this change we try one, calculate the offset and then restart the loop. Insane, but appears to be the only way to make this work. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
0 files changed, 0 insertions, 0 deletions