diff options
Diffstat (limited to 'core/import-cobalt.c')
-rw-r--r-- | core/import-cobalt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/import-cobalt.c b/core/import-cobalt.c index 28f6968a3..22bf14dbb 100644 --- a/core/import-cobalt.c +++ b/core/import-cobalt.c @@ -217,7 +217,8 @@ static int cobalt_dive(void *param, int columns, char **data, char **column) int parse_cobalt_buffer(sqlite3 *handle, const char *url, const char *buffer, int size, - struct dive_table *table, struct trip_table *trips, struct dive_site_table *sites) + struct dive_table *table, struct trip_table *trips, struct dive_site_table *sites, + struct device_table *devices) { UNUSED(buffer); UNUSED(size); @@ -229,6 +230,7 @@ int parse_cobalt_buffer(sqlite3 *handle, const char *url, const char *buffer, in state.target_table = table; state.trips = trips; state.sites = sites; + state.devices = devices; state.sql_handle = handle; char get_dives[] = "select Id,strftime('%s',DiveStartTime),LocationId,'buddy','notes',Units,(MaxDepthPressure*10000/SurfacePressure)-10000,DiveMinutes,SurfacePressure,SerialNumber,'model' from Dive where IsViewDeleted = 0"; |