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 --- src/node.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/node.c') diff --git a/src/node.c b/src/node.c index 5e5b3852..803f2c9b 100644 --- a/src/node.c +++ b/src/node.c @@ -31,11 +31,11 @@ static size_t serd_uri_string_length(const SerdURIView* const uri) { - size_t len = uri->path_base.len; + size_t len = uri->path_base.length; -#define ADD_LEN(field, n_delims) \ - if ((field).len) { \ - len += (field).len + (n_delims); \ +#define ADD_LEN(field, n_delims) \ + if ((field).length) { \ + len += (field).length + (n_delims); \ } ADD_LEN(uri->path, 1) // + possible leading '/' -- cgit v1.2.1