summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sordi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sordi.c b/src/sordi.c
index ad1329c..2549549 100644
--- a/src/sordi.c
+++ b/src/sordi.c
@@ -98,7 +98,7 @@ main(int argc, char** argv)
const uint8_t* base_uri_str = NULL;
SerdURI base_uri;
if (a < argc) { // Base URI given on command line
- const uint8_t* const in_base_uri = (const uint8_t*)argv[a++];
+ const uint8_t* const in_base_uri = (const uint8_t*)argv[a];
if (serd_uri_parse((const uint8_t*)in_base_uri, &base_uri)) {
fprintf(stderr, "Invalid base URI <%s>\n", argv[2]);
return 1;