Fix @pm lookup for possible matches on offset zero

This commit is contained in:
Felipe Zimmerle
2019-10-02 08:05:14 -07:00
parent d5b93c1013
commit beedddd6c6
4 changed files with 156 additions and 4 deletions

View File

@@ -585,7 +585,7 @@ int acmp_process_quick(ACMPT *acmpt, const char **match, const char *data, size_
offset++;
}
acmpt->ptr = node;
return 0;
return -1;
}
}