summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-05 10:56:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-05 10:56:18 -0700
commitdb2292c7729e5dbb4467077d0c0e2c5f190cf875 (patch)
tree506c16e4723b1f4d55110ced29cccf4321748545
parent4fd0dfcabb44e9d1d83ba727f83d30f04efaae80 (diff)
downloadsubsurface-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/planner.c b/planner.c
index c8f9fe462..3efa702d0 100644
--- a/planner.c
+++ b/planner.c
@@ -948,6 +948,7 @@ int plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool s
free(stoplevels);
free(gaschanges);
+ return error;
}
/*