aboutsummaryrefslogtreecommitdiff
path: root/src/lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lookup.c')
-rw-r--r--src/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lookup.c b/src/lookup.c
index 1785457..9010be4 100644
--- a/src/lookup.c
+++ b/src/lookup.c
@@ -548,7 +548,7 @@ grecs_match_next(struct grecs_match_buf *buf)
{
if (!buf)
return NULL;
- while (buf->node = grecs_next_node(buf->node))
+ while ((buf->node = grecs_next_node(buf->node)))
if (grecs_match(buf))
break;
return buf->node;

Return to:

Send suggestions and report system problems to the System administrator.