From 5b82006feed98c00d1717988f6b4f6893d9bd1de Mon Sep 17 00:00:00 2001 From: brenosilva Date: Mon, 2 Jan 2012 20:09:49 +0000 Subject: [PATCH] Code cleanup --- apache2/msc_util.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/apache2/msc_util.c b/apache2/msc_util.c index f78959e2..dc1e8cb2 100644 --- a/apache2/msc_util.c +++ b/apache2/msc_util.c @@ -183,8 +183,7 @@ int decode_base64_ext(char *plain_text, const char *input, int input_len) * * \retval n The converted number */ -int convert_to_int(const char c) -{ +int convert_to_int(const char c) { int n; if ((c>='0') && (c<='9')) n = c - '0'; @@ -224,14 +223,6 @@ int set_match_to_tx(modsec_rec *msr, int capture, const char *match, int tx_n) msr_log(msr, 9, "Added phrase match to TX.%d: %s", tx_n, log_escape_nq_ex(msr->mp, s->value, s->value_len)); } - - /* - for(i = 0; i <= 9; i++) { - char buf[2]; - apr_snprintf(buf, sizeof(buf), "%d", i); - apr_table_unset(msr->tx_vars, buf); - } - */ } return 0;