aboutsummaryrefslogtreecommitdiff
path: root/OSC/sendOSC.c
diff options
context:
space:
mode:
authorjdl <x75@users.sourceforge.net>2002-09-03 10:08:40 +0000
committerjdl <x75@users.sourceforge.net>2002-09-03 10:08:40 +0000
commitb913efcb4aee1d83c8c2331de4d692622f18959c (patch)
tree287cccfeb8de3119fef8fcd21c897be69843fb75 /OSC/sendOSC.c
parent189c0787586602185fea7dcbc3ef37665b75ba45 (diff)
refixed MAXPDARG vs. MAX_ARGS in sendOSC causing segfault with more than 5
elements in the message. svn path=/trunk/externals/OSCx/; revision=105
Diffstat (limited to 'OSC/sendOSC.c')
-rw-r--r--OSC/sendOSC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OSC/sendOSC.c b/OSC/sendOSC.c
index ce4e6ee..c039c86 100644
--- a/OSC/sendOSC.c
+++ b/OSC/sendOSC.c
@@ -50,7 +50,7 @@ University of California, Berkeley.
//#define VERSION "http://cnmat.berkeley.edu/OpenSoundControl/sendOSC-0.1.html"
#define MAX_ARGS 2000
-#define SC_BUFFER_SIZE 32000
+#define SC_BUFFER_SIZE 64000
/*
compiling:
@@ -261,7 +261,7 @@ void sendOSC_senduntyped(t_sendOSC *x, t_symbol *s, int argc, t_atom *argv)
static void sendOSC_sendtyped(t_sendOSC *x, t_symbol *s, int argc, t_atom *argv)
{
- char* targv[MAXPDARG];
+ char* targv[MAX_ARGS];
char tmparg[MAXPDSTRING];
char* tmp = tmparg;
int c;