aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mcin/mcin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcin/mcin.c b/mcin/mcin.c
index b9c7ec6..8249860 100644
--- a/mcin/mcin.c
+++ b/mcin/mcin.c
@@ -124,7 +124,7 @@ char *mcin_matcher_match(MCINMatcher *matcher, const char *str)
}
for(int i = 0; i < count; i ++)
{
- if(!regexec(&arr[i], str, 0, NULL, 0))
+ if(!regexec(&arr[i], temp_str, 0, NULL, 0))
{
return temp_str;
}