=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/hostfile.c,v retrieving revision 1.18 retrieving revision 1.18.2.2 diff -u -r1.18 -r1.18.2.2 --- src/usr.bin/ssh/hostfile.c 2000/04/29 18:11:52 1.18 +++ src/usr.bin/ssh/hostfile.c 2000/09/01 18:23:20 1.18.2.2 @@ -14,7 +14,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: hostfile.c,v 1.18 2000/04/29 18:11:52 markus Exp $"); +RCSID("$OpenBSD: hostfile.c,v 1.18.2.2 2000/09/01 18:23:20 jason Exp $"); #include "packet.h" #include "match.h" @@ -129,7 +129,7 @@ ; /* Check if the host name matches. */ - if (!match_hostname(host, cp, (unsigned int) (cp2 - cp))) + if (match_hostname(host, cp, (unsigned int) (cp2 - cp)) != 1) continue; /* Got a match. Skip host name. */