aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/sampler.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg-sampler.lv2/sampler.c')
-rw-r--r--plugins/eg-sampler.lv2/sampler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c
index a0b0224..90d5cbe 100644
--- a/plugins/eg-sampler.lv2/sampler.c
+++ b/plugins/eg-sampler.lv2/sampler.c
@@ -269,7 +269,7 @@ handle_message(Sampler* plugin,
if (!body) { // TODO: check type
fprintf(stderr, "Malformed set message with no body.\n");
- return;
+ return false;
}
/* Get filename from body */
@@ -282,7 +282,7 @@ handle_message(Sampler* plugin,
if (!filename) {
fprintf(stderr, "Ignored set message with no filename\n");
- return;
+ return false;
}
char* str = (char*)LV2_ATOM_BODY(filename);