diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-07-24 19:53:20 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-24 13:20:40 -0700 |
commit | 0d2d91a28c1c10a0ee36c42610f618265a5f48be (patch) | |
tree | 33acbaebbd56755bbf6aa28e7bd929f2b2662cb9 | |
parent | c2b45ab1e2c9c905750056da2d9209a1a6fd9d92 (diff) | |
download | subsurface-0d2d91a28c1c10a0ee36c42610f618265a5f48be.tar.gz |
Cobalt import: use find or create divesite
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c index 17a2df35b..4936bcd2d 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2691,7 +2691,7 @@ extern int cobalt_location(void *handle, int columns, char **data, char **column sprintf(tmp, "%s / %s", location, data[0]); free(location); location = NULL; - cur_dive->dive_site_uuid = create_dive_site(tmp); + cur_dive->dive_site_uuid = find_or_create_dive_site_with_name(tmp); free(tmp); } else { location = strdup(data[0]); |