diff options
author | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-11-11 17:43:09 +0100 |
---|---|---|
committer | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-11-11 17:43:09 +0100 |
commit | 5e3cd0e5b56e6c58cfba4d0d38fbbbed3657889d (patch) | |
tree | 3e96b946c06176731b1d2ba27605dc257ef9c7bc /lib/patmatch_test.c | |
parent | fa71b268a8d15d579f50d7f4f92e2edb3b431e05 (diff) |
Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0
Diffstat (limited to 'lib/patmatch_test.c')
-rw-r--r-- | lib/patmatch_test.c | 2 |
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 |