aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uri.c')
-rw-r--r--src/uri.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/uri.c b/src/uri.c
index def2b326..0d403ce9 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -4,7 +4,11 @@
#include "string_utils.h"
#include "uri_utils.h"
-#include "serd/serd.h"
+#include "serd/buffer.h"
+#include "serd/status.h"
+#include "serd/stream.h"
+#include "serd/string_view.h"
+#include "serd/uri.h"
#include <stdbool.h>
#include <stdint.h>
@@ -268,7 +272,7 @@ serd_uri_resolve(const SerdURIView* const r,
return;
}
- t->path_base.buf = NULL;
+ t->path_base.buf = "";
t->path_base.len = 0;
if (r->scheme.len) {
*t = *r;