diff options
author | Mattias Andrée <maandree@kth.se> | 2024-06-25 16:02:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-06-25 16:02:09 +0200 |
commit | 218c056552282246dccf9c37eed78c5056ed5a35 (patch) | |
tree | f4a7842b58399a77bc6ae197bb733be875b28da5 | |
parent | Empty signed commit (diff) | |
download | xtest-218c056552282246dccf9c37eed78c5056ed5a35.tar.gz xtest-218c056552282246dccf9c37eed78c5056ed5a35.tar.bz2 xtest-218c056552282246dccf9c37eed78c5056ed5a35.tar.xz |
Fix double output bug2.1.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | xtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } } |