From fe2125d9af102ce013f96b15ea337bf006fa8b00 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 6 Mar 2007 23:10:14 +0000 Subject: [PATCH] fix indentation --- src/sigar_ptql.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/sigar_ptql.c b/src/sigar_ptql.c index c3a080b5..aee39523 100644 --- a/src/sigar_ptql.c +++ b/src/sigar_ptql.c @@ -1007,18 +1007,19 @@ static int ptql_branch_add(ptql_parse_branch_t *parsed, } else if (branch->op_name == PTQL_OP_RE) { #ifdef SIGAR_HAS_PCRE - const char *error; - int offset; - pcre *re = - pcre_compile(parsed->value, 0, &error, &offset, NULL); - if (!re) { - return SIGAR_PTQL_MALFORMED_QUERY; - } - is_set = 1; - branch->value.ptr = re; - branch->value_free = pcre_free; + const char *error; + int offset; + pcre *re = + pcre_compile(parsed->value, 0, + &error, &offset, NULL); + if (!re) { + return SIGAR_PTQL_MALFORMED_QUERY; + } + is_set = 1; + branch->value.ptr = re; + branch->value_free = pcre_free; #else - return SIGAR_PTQL_MALFORMED_QUERY; + return SIGAR_PTQL_MALFORMED_QUERY; #endif }