isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

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

make more use of equals()

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

diff --git 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++)