IMPROVES-i10 check sequal for null
This commit is contained in:
@@ -169,6 +169,8 @@ int sequal(char *a, char *b, float thr, float *ratio, char *s1, char *s2)
|
||||
{
|
||||
int i;
|
||||
|
||||
if(!a || !b || !s1 || !s2 || !ratio) return 3; /* error sentinel */
|
||||
|
||||
// remove accents
|
||||
asciify(a, s1);
|
||||
asciify(b, s2);
|
||||
|
||||
Reference in New Issue
Block a user