mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
The callback function has to return 0 or sql processing fails
Which means we report an error even if there wasn't a problem. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4682002474
commit
6a2efd9ff6
1 changed files with 1 additions and 0 deletions
|
@ -2087,6 +2087,7 @@ extern int dm5_cylinders(void *handle, int columns, char **data, char **column)
|
|||
if (data[3])
|
||||
cur_dive->cylinder[cur_cylinder_index].gasmix.he.permille = atoi(data[3]) * 10;
|
||||
cylinder_end();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue