aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-13 23:23:16 +0000
committerDavid Robillard <d@drobilla.net>2012-02-13 23:23:16 +0000
commit563e19d485b503e3b798f8740cd551c4ebce5476 (patch)
tree6eaea79b6e68895adabda14a899ec02bdaefed7e
parent3c21b71e86d50ef0d21b0cfb5e4e74cf168b934d (diff)
downloadlv2-563e19d485b503e3b798f8740cd551c4ebce5476.tar.xz
Fix bad returns.
-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);