aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-10 17:29:15 -0400
committerDavid Robillard <d@drobilla.net>2022-08-17 13:51:13 -0400
commit69b6f73b92156536ecb297dd2c58eb3c40e8fbe5 (patch)
tree5032d6d671c18145bdd9100c20ff4f1584cdee6c
parent728e9dacd7b604af3820850425e39202014ab2a2 (diff)
downloadjalv-69b6f73b92156536ecb297dd2c58eb3c40e8fbe5.tar.gz
jalv-69b6f73b92156536ecb297dd2c58eb3c40e8fbe5.tar.bz2
jalv-69b6f73b92156536ecb297dd2c58eb3c40e8fbe5.zip
Only log custom UI URI when one is expected
Also deletes a rotten comment.
-rw-r--r--src/jalv.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 6020980..e332b91 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -1164,14 +1164,12 @@ jalv_open(Jalv* const jalv, int* argc, char*** argv)
lilv_node_free(host_type);
}
#endif
- }
- }
- // Create ringbuffers for UI if necessary
- if (jalv->ui) {
- printf("UI: %s\n", lilv_node_as_uri(lilv_ui_get_uri(jalv->ui)));
- } else {
- printf("UI: None\n");
+ if (jalv->ui) {
+ printf("UI: %s\n",
+ lilv_node_as_uri(lilv_ui_get_uri(jalv->ui)));
+ }
+ }
}
// Create port and control structures