remote: fix incorrect use of strcmp result
authorDavid Bauer <mail@david-bauer.net>
Sun, 5 Sep 2021 16:03:21 +0000 (18:03 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 21 Sep 2021 17:47:56 +0000 (19:47 +0200)
commitbee7c7e0dfdf741010258e3dbd6fe1521efec326
tree9e6522fa161910b1d87d40e17fcd129b25771601
parent54f726f68ba8b027a26507621c7d999f91750a07
remote: fix incorrect use of strcmp result

When checking if the hostaddresses match up, the result returned from
strcmp was incorrectly evaluated. strcmp returns 0 in case both strings
match.

Signed-off-by: David Bauer <mail@david-bauer.net>
remote.c