diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-09-26 12:50:40 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-09-26 12:50:40 +0000 |
commit | 31e50803fd8e15d167e048adf58cfb5190464e45 (patch) | |
tree | 2a5206f0f3f29f7f4e71b6602be516e80077ff48 /src/regex/regex_internal.c | |
parent | 4f35d02a21820b2a3120c4cae04f1c543a727874 (diff) |
- indentation, style
Diffstat (limited to 'src/regex/regex_internal.c')
-rw-r--r-- | src/regex/regex_internal.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/regex/regex_internal.c b/src/regex/regex_internal.c index 9ea6cb8f56..38a95976a2 100644 --- a/src/regex/regex_internal.c +++ b/src/regex/regex_internal.c @@ -2822,7 +2822,7 @@ REGEX_INTERNAL_construct_nfa (const char *regex, const size_t len) nfa_add_concatenation (&ctx); } if (poff == psize) - GNUNET_array_grow (p, psize, psize * 2 + 4); + GNUNET_array_grow (p, psize, psize * 2 + 4); /* FIXME why *2 +4? */ p[poff].altcount = altcount; p[poff].atomcount = atomcount; poff++; @@ -3023,7 +3023,7 @@ construct_dfa_states (struct REGEX_INTERNAL_Context *ctx, */ struct REGEX_INTERNAL_Automaton * REGEX_INTERNAL_construct_dfa (const char *regex, const size_t len, - unsigned int max_path_len) + unsigned int max_path_len) { struct REGEX_INTERNAL_Context ctx; struct REGEX_INTERNAL_Automaton *dfa; @@ -3308,9 +3308,8 @@ REGEX_INTERNAL_get_first_key (const char *input_string, size_t string_len, { size_t size; - size = - string_len < - GNUNET_REGEX_INITIAL_BYTES ? string_len : GNUNET_REGEX_INITIAL_BYTES; + size = string_len < GNUNET_REGEX_INITIAL_BYTES ? string_len : + GNUNET_REGEX_INITIAL_BYTES; if (NULL == input_string) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |