BUG/MINOR: fix http-response set-log-level parsing error
authorRuoshan Huang <ruoshan.huang@gmail.com>
Wed, 15 Jun 2016 14:16:03 +0000 (22:16 +0800)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Jun 2016 15:57:58 +0000 (17:57 +0200)
commitdd01678a795fdfa8c77ddbb8d7f5bd3dcf4b23eb
tree3082d3bbca7bc60ae42d4e332e0ff285ff4c8dd2
parent0070cd52c86db832c771d43a21355df966a5ce2e
BUG/MINOR: fix http-response set-log-level parsing error

hi,
    `http-response set-log-level` doesn't work, as the config parsing always set the log level to -1.

From 2b183447c5b37c19aae5d596871fc0b9004c87b4 Mon Sep 17 00:00:00 2001
From: Ruoshan Huang <ruoshan.huang@gmail.com>
Date: Wed, 15 Jun 2016 22:07:58 +0800
Subject: [PATCH] BUG/MINOR: fix http-response set-log-level parsing error

http-response set-log-level can't parse the log level correctly,
as the level argument ptr is one byte ahead when passed to get_log_level
---
 src/proto_http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/proto_http.c