diff options
Diffstat (limited to 'core/parse.c')
-rw-r--r-- | core/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/parse.c b/core/parse.c index 2763628f9..5dceef0f9 100644 --- a/core/parse.c +++ b/core/parse.c @@ -434,7 +434,7 @@ void add_dive_site(char *ds_name, struct dive *dive, struct parser_state *state) if (exact_match) { dive->dive_site = exact_match; } else { - struct dive_site *newds = create_dive_site(buffer, dive->when, state->sites); + struct dive_site *newds = create_dive_site(buffer, state->sites); dive->dive_site = newds; if (has_location(&state->cur_location)) { // we started this uuid with GPS data, so lets use those @@ -449,7 +449,7 @@ void add_dive_site(char *ds_name, struct dive *dive, struct parser_state *state) dive->dive_site = ds; } } else { - dive->dive_site = create_dive_site(buffer, dive->when, state->sites); + dive->dive_site = create_dive_site(buffer, state->sites); } } free(to_free); |