fix indentation

This commit is contained in:
Doug MacEachern 2007-03-06 23:10:14 +00:00
parent d459b79bdd
commit fe2125d9af
1 changed files with 12 additions and 11 deletions

View File

@ -1007,18 +1007,19 @@ static int ptql_branch_add(ptql_parse_branch_t *parsed,
} }
else if (branch->op_name == PTQL_OP_RE) { else if (branch->op_name == PTQL_OP_RE) {
#ifdef SIGAR_HAS_PCRE #ifdef SIGAR_HAS_PCRE
const char *error; const char *error;
int offset; int offset;
pcre *re = pcre *re =
pcre_compile(parsed->value, 0, &error, &offset, NULL); pcre_compile(parsed->value, 0,
if (!re) { &error, &offset, NULL);
return SIGAR_PTQL_MALFORMED_QUERY; if (!re) {
} return SIGAR_PTQL_MALFORMED_QUERY;
is_set = 1; }
branch->value.ptr = re; is_set = 1;
branch->value_free = pcre_free; branch->value.ptr = re;
branch->value_free = pcre_free;
#else #else
return SIGAR_PTQL_MALFORMED_QUERY; return SIGAR_PTQL_MALFORMED_QUERY;
#endif #endif
} }