aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dumpOSC.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dumpOSC.c b/src/dumpOSC.c
index 09f4e76..babc860 100644
--- a/src/dumpOSC.c
+++ b/src/dumpOSC.c
@@ -282,7 +282,11 @@ static void *dumpOSC_new(t_symbol *compatflag,
return NULL;
}
- else return NULL;
+ else {
+ error("[dumpOSC] needs at least one argument to function");
+ return NULL;
+ }
+
//x->x_b = binbuf_new();
//x->x_outat = binbuf_getvec(x->x_b);