From b314613a393b4fc9d5e7b00f8a3ef5510907ded3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 29 May 2005 18:22:59 +0000 Subject: [PATCH] fix test git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15284 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/name-45-test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/krb5/name-45-test.c b/lib/krb5/name-45-test.c index 122afa8ba..51fe411a9 100644 --- a/lib/krb5/name-45-test.c +++ b/lib/krb5/name-45-test.c @@ -159,8 +159,7 @@ main(int argc, char **argv) setprogname(argv[0]); gethostname(hostname, sizeof(hostname)); - if (strstr(hostname, "kth.se") == NULL && - strstr(hostname, "su.se") == NULL) + if (!(strstr(hostname, "kth.se") != NULL || strstr(hostname, "su.se") != NULL)) return 0; for (t = tests; t->v4_name; ++t) {