foo <=> foobar connection was wrong
This commit is contained in:
@@ -15,7 +15,7 @@ int matchstring(struct string* s,const char* c) {
|
||||
if (l==s->l) return 0;
|
||||
/* one is a prefix of the other */
|
||||
if (l1<l) /* we cut off c */
|
||||
return c[l1];
|
||||
return -c[l1];
|
||||
return (int)(s->s[l1]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user