From 8ea094cffae04a654ddb76700fa86fa7e8d03eef Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 21 Feb 2006 12:58:58 +0000 Subject: [PATCH] Fix indentation. --- src/regex.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/regex.c b/src/regex.c index cde361e62ce..846c87041b1 100644 --- a/src/regex.c +++ b/src/regex.c @@ -3654,12 +3654,12 @@ regex_compile (pattern, size, syntax, bufp) if (! fail_stack.stack) fail_stack.stack = (fail_stack_elt_t *) malloc (fail_stack.size - * sizeof (fail_stack_elt_t)); + * sizeof (fail_stack_elt_t)); else fail_stack.stack = (fail_stack_elt_t *) realloc (fail_stack.stack, - (fail_stack.size - * sizeof (fail_stack_elt_t))); + (fail_stack.size + * sizeof (fail_stack_elt_t))); } regex_grow_registers (num_regs); @@ -6345,7 +6345,7 @@ regcomp (preg, pattern, cflags) preg->translate = (RE_TRANSLATE_TYPE) malloc (CHAR_SET_SIZE - * sizeof (*(RE_TRANSLATE_TYPE)0)); + * sizeof (*(RE_TRANSLATE_TYPE)0)); if (preg->translate == NULL) return (int) REG_ESPACE; -- 2.39.2