From db2292c7729e5dbb4467077d0c0e2c5f190cf875 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 5 Aug 2014 10:56:18 -0700 Subject: Planner: actually return the error Just setting it up is only half of the solution... Signed-off-by: Dirk Hohndel --- planner.c | 1 + 1 file changed, 1 insertion(+) 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; } /* -- cgit v1.2.3-70-g09d2