summaryrefslogtreecommitdiff
path: root/tests/lib/test_srcdest_table.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-25 18:55:37 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-02-25 23:00:16 +0000
commitb08047f82d887d1ea639bbfe97147b46572099d5 (patch)
tree0651f297cdb62015696c6f75e8c4f8ae34f2b7f2 /tests/lib/test_srcdest_table.c
parentd8729f8cb55d118c1937b7d001d70d6ea4476e52 (diff)
*: return bool from boolean functions
Not 1 or 0. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/test_srcdest_table.c')
-rw-r--r--tests/lib/test_srcdest_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/test_srcdest_table.c b/tests/lib/test_srcdest_table.c
index 5c0e171778..19a40b2184 100644
--- a/tests/lib/test_srcdest_table.c
+++ b/tests/lib/test_srcdest_table.c
@@ -105,7 +105,7 @@ static unsigned int log_key(void *data)
static bool log_cmp(const void *a, const void *b)
{
if (a == NULL || b == NULL)
- return 0;
+ return false;
return !memcmp(a, b, 2 * sizeof(struct prefix));
}