diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/serdi.c b/src/serdi.c index c3f7aa2e..ef7d72cb 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -74,7 +74,7 @@ set_syntax(SerdSyntax* syntax, const char* name) } return true; } - + int main(int argc, char** argv) { @@ -142,7 +142,7 @@ main(int argc, char** argv) fprintf(stderr, "Missing input\n"); return 1; } - + const uint8_t* input = (const uint8_t*)argv[a++]; if (from_file) { in_name = in_name ? in_name : input; @@ -183,7 +183,7 @@ main(int argc, char** argv) SerdURI base_uri = SERD_URI_NULL; SerdNode base_uri_node = serd_node_new_uri_from_string( base_uri_str, &base_uri, &base_uri); - + if (!base_uri_node.buf) { fprintf(stderr, "Invalid base URI <%s>\n", base_uri_str); return 1; |