diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-08-05 10:56:18 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-05 10:56:18 -0700 |
commit | db2292c7729e5dbb4467077d0c0e2c5f190cf875 (patch) | |
tree | 506c16e4723b1f4d55110ced29cccf4321748545 | |
parent | 4fd0dfcabb44e9d1d83ba727f83d30f04efaae80 (diff) | |
download | subsurface-db2292c7729e5dbb4467077d0c0e2c5f190cf875.tar.gz |
Planner: actually return the error
Just setting it up is only half of the solution...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | planner.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -948,6 +948,7 @@ int plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool s free(stoplevels); free(gaschanges); + return error; } /* |