From 5e3cd0e5b56e6c58cfba4d0d38fbbbed3657889d Mon Sep 17 00:00:00 2001 From: Pavel Tvrdik Date: Fri, 11 Nov 2016 17:43:09 +0100 Subject: Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0 --- lib/patmatch_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/patmatch_test.c') 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 -- cgit v1.2.3