diff options
Diffstat (limited to 'src/delivery_test.c')
-rw-r--r-- | src/delivery_test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/delivery_test.c b/src/delivery_test.c index 8ff08cc..e1d5efa 100644 --- a/src/delivery_test.c +++ b/src/delivery_test.c @@ -278,9 +278,7 @@ int delivery_fixup_test_results(struct Delivery *ctx) { char path[PATH_MAX]; memset(path, 0, sizeof(path)); - if (!strcmp(rec->d_name, ".") || !strcmp(rec->d_name, "..")) { - continue; - } else if (!endswith(rec->d_name, ".xml")) { + if (!strcmp(rec->d_name, ".") || !strcmp(rec->d_name, "..") || !endswith(rec->d_name, ".xml")) { continue; } |