diff options
author | David Robillard <d@drobilla.net> | 2011-09-29 00:53:39 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-29 00:53:39 +0000 |
commit | c8e9bd0923f624945dd69e2af8b8a05c5a09d29c (patch) | |
tree | 6204b6f93a83c1e4b57886d47bf58f322776af6c /src/serdi.c | |
parent | de5aa9e275107f59cdf12f76fe55895605ee7dc6 (diff) | |
download | serd-c8e9bd0923f624945dd69e2af8b8a05c5a09d29c.tar.gz serd-c8e9bd0923f624945dd69e2af8b8a05c5a09d29c.tar.bz2 serd-c8e9bd0923f624945dd69e2af8b8a05c5a09d29c.zip |
Tidy.
git-svn-id: http://svn.drobilla.net/serd/trunk@218 490d8e77-9747-427b-9fa3-0b8f29cee8a0
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; |