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 621a921be..01e9843c1 100644 --- a/core/liquivision.c +++ b/core/liquivision.c @@ -191,7 +191,7 @@ static void parse_dives(int log_version, const unsigned char *buf, unsigned int /* Store the location only if we have one */ if (len || place_len) { - dive->dive_site = find_or_create_dive_site_with_name(location, sites); + add_dive_to_dive_site(dive, find_or_create_dive_site_with_name(location, sites)); free(location); } |