From c34688055ee24f9e8740a2832415c4b89f64486f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 May 2011 21:28:19 +0000 Subject: Abort when given an invalid base URI. git-svn-id: http://svn.drobilla.net/serd/trunk@175 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- src/serdi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.1