diff options
author | David Robillard <d@drobilla.net> | 2011-05-12 21:28:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-12 21:28:19 +0000 |
commit | c34688055ee24f9e8740a2832415c4b89f64486f (patch) | |
tree | bf2b604f120c6c661d784a83b9fe29c73f34419c | |
parent | bc42e1c4d4fc93592b7e08226192acc00ccf37bc (diff) | |
download | serd-c34688055ee24f9e8740a2832415c4b89f64486f.tar.gz serd-c34688055ee24f9e8740a2832415c4b89f64486f.tar.bz2 serd-c34688055ee24f9e8740a2832415c4b89f64486f.zip |
Abort when given an invalid base URI.
git-svn-id: http://svn.drobilla.net/serd/trunk@175 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r-- | src/serdi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serdi.c b/src/serdi.c index 61ea497f..7d29a9cf 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -147,6 +147,7 @@ main(int argc, char** argv) if (serd_uri_parse(base_uri_str, &base_uri)) { fprintf(stderr, "Invalid base URI <%s>\n", base_uri_str); + return 1; } FILE* out_fd = stdout; |