aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-02-26 12:39:18 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commit70277ccdb3035db83d81d942777c12a60c4aded3 (patch)
tree401d570c44167148cb282d1013ec1eaf4abe6283 /src/node.c
parentfebb30141356df83a56026bbb14099e3cb2c82fc (diff)
downloadserd-70277ccdb3035db83d81d942777c12a60c4aded3.tar.gz
serd-70277ccdb3035db83d81d942777c12a60c4aded3.tar.bz2
serd-70277ccdb3035db83d81d942777c12a60c4aded3.zip
Rename string view fields
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c8
1 files changed, 4 insertions, 4 deletions
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 '/'