diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-06-04 00:17:10 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-06-04 00:17:10 +0000 |
commit | f977ea5976e4f271274693f5fcf2d81c243a9397 (patch) | |
tree | feb7477ee44ea1179fa52f8d2b794c758c9ea222 /src/sendOSC.c | |
parent | e02c532c1dc25cd73f032fb42f05efa6cd0b0b39 (diff) |
moved deprecation message from _new to _setup so that people don't get flooded with deprecation messages; cleaned up message formatting
svn path=/trunk/externals/OSCx/; revision=13588
Diffstat (limited to 'src/sendOSC.c')
-rw-r--r-- | src/sendOSC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sendOSC.c b/src/sendOSC.c index b48d205..679209d 100644 --- a/src/sendOSC.c +++ b/src/sendOSC.c @@ -127,7 +127,6 @@ void SendData(void *htmsocket, int size, char *data); static void *sendOSC_new(t_floatarg udpflag)
{
t_sendOSC *x = (t_sendOSC *)pd_new(sendOSC_class);
- error("[sendOSC]: OSCx is deprecated! consider switching to mrpeach's [packOSC] and [udpsend]");
outlet_new(&x->x_obj, &s_float);
x->x_htmsocket = 0; // {{raf}}
@@ -391,6 +390,7 @@ void sendOSC_setup(void) gensym("]"),
0, 0);
class_sethelpsymbol(sendOSC_class, gensym("sendOSC-help.pd"));
+ error("[sendOSC]: OSCx is deprecated! \n\tConsider switching to mrpeach's [packOSC] and [udpsend]");
}
/* Exit status codes:
|