diff options
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r-- | libdivecomputer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c index 6a9b07f80..f0c3c7549 100644 --- a/libdivecomputer.c +++ b/libdivecomputer.c @@ -311,9 +311,10 @@ static int dive_cb(const unsigned char *data, unsigned int size, dc_parser_destroy(parser); /* If we already saw this dive, abort. */ - if (find_dive(dive, devdata)) + if (!devdata->force_download && find_dive(dive, devdata)) return 0; + dive->downloaded = TRUE; record_dive(dive); return 1; } |