From 70277ccdb3035db83d81d942777c12a60c4aded3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 26 Feb 2023 12:39:18 -0500 Subject: Rename string view fields --- test/test_uri.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test_uri.c') diff --git a/test/test_uri.c b/test/test_uri.c index 61f432fd..65e12490 100644 --- a/test/test_uri.c +++ b/test/test_uri.c @@ -135,9 +135,9 @@ test_uri_from_string(void) static inline bool chunk_equals(const SerdStringView* a, const SerdStringView* b) { - return (!a->len && !b->len && !a->buf && !b->buf) || - (a->len && b->len && a->buf && b->buf && - !strncmp((const char*)a->buf, (const char*)b->buf, a->len)); + return (!a->length && !b->length && !a->data && !b->data) || + (a->length && b->length && a->data && b->data && + !strncmp((const char*)a->data, (const char*)b->data, a->length)); } static void -- cgit v1.2.1