From ada01549aef839cc80e580fc05055d7fb6ae4e6d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 23 Jan 2010 04:26:57 +0000 Subject: made explicit error about needing a portnumber, and documented it svn path=/trunk/externals/OSCx/; revision=13084 --- src/dumpOSC.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.1