diff --git a/src/wtp/wtp_main.c b/src/wtp/wtp_main.c index 084c89b4..0996e920 100644 --- a/src/wtp/wtp_main.c +++ b/src/wtp/wtp_main.c @@ -224,7 +224,8 @@ mavl_destroy(b); mavl_destroy(conn->incomming); conn->incomming = conn->config; - configure(); + if (!configure()) + return -1; changestate();