make more use of equals()
This commit is contained in:
parent
c29eceaeed
commit
af1acdac97
|
@ -491,7 +491,7 @@ map_name( const char *arg, char **result, int reserve, const char *in, const cha
|
||||||
}
|
}
|
||||||
assert( out );
|
assert( out );
|
||||||
outl = strlen( out );
|
outl = strlen( out );
|
||||||
if (inl == outl && !memcmp( in, out, inl ))
|
if (equals( in, inl, out, outl ))
|
||||||
goto copy;
|
goto copy;
|
||||||
for (num = 0, i = 0; i < l; ) {
|
for (num = 0, i = 0; i < l; ) {
|
||||||
for (ll = 0; ll < inl; ll++)
|
for (ll = 0; ll < inl; ll++)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user