projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix
[oweals/gnunet.git]
/
src
/
regex
/
regex.c
diff --git
a/src/regex/regex.c
b/src/regex/regex.c
index 024e26e0ecce8a68dcccd91373000950eeb608eb..54d38e4c05347773f54f13ad9f3317a3eb023ef9 100644
(file)
--- a/
src/regex/regex.c
+++ b/
src/regex/regex.c
@@
-2838,7
+2838,8
@@
iterate_initial_edge (const unsigned int min_len, const unsigned int max_len,
else
cur_len = 0;
- if (cur_len >= min_len && cur_len > 0 && NULL != consumed_string)
+ if ((cur_len >= min_len || GNUNET_YES == state->accepting) && cur_len > 0 &&
+ NULL != consumed_string)
{
if (cur_len <= max_len)
{