summaryrefslogtreecommitdiff
path: root/lib/patmatch_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/patmatch_test.c')
-rw-r--r--lib/patmatch_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/patmatch_test.c b/lib/patmatch_test.c
index b2b4cb92..d65f316f 100644
--- a/lib/patmatch_test.c
+++ b/lib/patmatch_test.c
@@ -28,7 +28,7 @@ test_matching(void *out_, const void *in_, const void *expected_out_)
*out = patmatch(in->pattern, in->data);
- return (*out == *expected_out) ? BT_SUCCESS : BT_FAILURE;
+ return *out == *expected_out;
}
static void