git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15284 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-05-29 18:22:59 +00:00
parent 7c2839a3d5
commit b314613a39

View File

@@ -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) {