aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--xtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtest.c b/xtest.c
index ce4dfda..7a45089 100644
--- a/xtest.c
+++ b/xtest.c
@@ -86,14 +86,14 @@ test(char *s)
if ((pos_tests & j) && testmap[i](s)) {
printf("%s%c", s, delim);
fflush(stdout);
- break;
+ return;
}
}
for (i = 0; j = 1L << i, j <= neg_tests; i++) {
if ((neg_tests & j) && !testmap[i](s)) {
printf("%s%c", s, delim);
fflush(stdout);
- break;
+ return;
}
}
}