From 96a5c9b57738c05ecce7822093b9c4118123dc1e Mon Sep 17 00:00:00 2001 From: Baptiste Assmann Date: Fri, 1 May 2015 08:09:29 +0200 Subject: [PATCH] BUG/MINOR: check: fix tcpcheck error message add the keyword 'string' when required (error in a tcpcheck expect string) --- src/checks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checks.c b/src/checks.c index 32c992195e..3ab0c456e0 100644 --- a/src/checks.c +++ b/src/checks.c @@ -641,7 +641,7 @@ static void chk_report_conn_err(struct connection *conn, int errno_bck, int expi } else if (check->last_started_step && check->last_started_step->action == TCPCHK_ACT_EXPECT) { if (check->last_started_step->string) - chunk_appendf(chk, " (string '%s')", check->last_started_step->string); + chunk_appendf(chk, " (expect string '%s')", check->last_started_step->string); else if (check->last_started_step->expect_regex) chunk_appendf(chk, " (expect regex)"); }