diff options
Diffstat (limited to 'core/liquivision.c')
-rw-r--r-- | core/liquivision.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/liquivision.c b/core/liquivision.c index 5d9fa0a73..bec4b771b 100644 --- a/core/liquivision.c +++ b/core/liquivision.c @@ -227,7 +227,7 @@ static void parse_dives (int log_version, const unsigned char *buf, unsigned int // now that we have the dive time we can store the divesite // (we need the dive time to create deterministic uuids) if (found_divesite) { - dive->dive_site = find_or_create_dive_site_with_name(location, dive->when); + dive->dive_site = find_or_create_dive_site_with_name(location, dive->when, &dive_site_table); free(location); } //unsigned int end_time = array_uint32_le(buf + ptr); |