commit af1acdac9748910f6db8c8a3853ff72aeb948107
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Sun Oct 15 16:52:43 2017 +0200

    make more use of equals()

 src/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util.c b/src/util.c
index f4dce49..8c56a28 100644
--- a/src/util.c
+++ b/src/util.c
@@ -491,7 +491,7 @@ map_name( const char *arg, char **result, int reserve, 
const char *in, const cha
        }
        assert( out );
        outl = strlen( out );
-       if (inl == outl && !memcmp( in, out, inl ))
+       if (equals( in, inl, out, outl ))
                goto copy;
        for (num = 0, i = 0; i < l; ) {
                for (ll = 0; ll < inl; ll++)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to