aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-20 07:23:10 -0500
committerDavid Robillard <d@drobilla.net>2022-12-20 07:32:13 -0500
commit58045c2ef18cc7912cb712a7c806d5f28fde187a (patch)
tree31860131ff102af5438fb199b52151d712566f1e /src/uri.c
parent9757f30ad4d9bc1ceb7bb731b19872921f168e59 (diff)
downloadserd-58045c2ef18cc7912cb712a7c806d5f28fde187a.tar.gz
serd-58045c2ef18cc7912cb712a7c806d5f28fde187a.tar.bz2
serd-58045c2ef18cc7912cb712a7c806d5f28fde187a.zip
Avoid using ASCII grave as a quote
Diffstat (limited to 'src/uri.c')
-rw-r--r--src/uri.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uri.c b/src/uri.c
index 151f63e3..8acb79b3 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -18,7 +18,7 @@ serd_uri_to_path(const uint8_t* uri)
const uint8_t* path = uri;
if (!is_windows_path(uri) && serd_uri_string_has_scheme(uri)) {
if (!!strncmp((const char*)uri, "file:", 5)) {
- fprintf(stderr, "Non-file URI `%s'\n", uri);
+ fprintf(stderr, "Non-file URI '%s'\n", uri);
return NULL;
}
@@ -27,7 +27,7 @@ serd_uri_to_path(const uint8_t* uri)
} else if (!strncmp((const char*)uri, "file://", 7)) {
path = uri + 7;
} else {
- fprintf(stderr, "Invalid file URI `%s'\n", uri);
+ fprintf(stderr, "Invalid file URI '%s'\n", uri);
return NULL;
}
@@ -485,7 +485,7 @@ serd_uri_serialise_relative(const SerdURI* const uri,
}
if (uri->fragment.buf) {
- // Note uri->fragment.buf includes the leading `#'
+ // Note uri->fragment.buf includes the leading '#'
len += sink(uri->fragment.buf, uri->fragment.len, stream);
}