connect: use strcmp() for string comparison
commit2ae7f90f263760abd242501471f123632395d7b3
authorRené Scharfe <l.s.r@web.de>
Sat, 21 Feb 2015 19:49:58 +0000 (21 20:49 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Feb 2015 20:01:37 +0000 (22 12:01 -0800)
treeefa9ad869b610e4f45003fccd4f5f836cbb08957
parent3c84ac86fc896c108b789b8eb26b169cc0e8088a
connect: use strcmp() for string comparison

Get rid of magic string length constants and simply compare the strings
using strcmp().  This makes the intent of the code a bit clearer.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c