CLEANUP: checks: Remove unused code when ldap server message is parsed
In tcpcheck_ldap_expect_bindrsp(), wait_more_data label cannot be reached.
Partly fixes issue #600.
diff --git a/src/checks.c b/src/checks.c
index 6f13200..c79cc1f 100644
--- a/src/checks.c
+++ b/src/checks.c
@@ -1353,10 +1353,6 @@
tcpcheck_expect_onerror_message(msg, check, rule, 0, desc);
set_server_check_status(check, status, (msg ? b_head(msg) : NULL));
goto out;
-
- wait_more_data:
- ret = TCPCHK_EVAL_WAIT;
- goto out;
}
/* Custom tcp-check expect function to parse and validate the SPOP hello agent