diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2011-01-16 18:41:48 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2011-01-16 18:41:48 +0000 |
commit | fd8385bf03804c1aa375db8418e1732d601dd9ef (patch) | |
tree | 387abaaa03c69d97c0c4d8f25373deb28cfb48ec /osc/packingOSC.h | |
parent | 1c0c6f798f56c25c1677590c4fdc833c2d7a7d0b (diff) |
should now recover gracefully from excessive bundle depth. Cleaned up some whitespace and removed duplicate define of MAX_BUNDLE_DEPTH.
svn path=/trunk/externals/mrpeach/; revision=14745
Diffstat (limited to 'osc/packingOSC.h')
-rw-r--r-- | osc/packingOSC.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/osc/packingOSC.h b/osc/packingOSC.h index 49e9e1e..1900226 100644 --- a/osc/packingOSC.h +++ b/osc/packingOSC.h @@ -23,7 +23,10 @@ #endif #define MAX_MESG 65536 /* same as MAX_UDP_PACKET */ -#define MAX_BUNDLE_NESTING 32 /* maximum bundle depth */ +/* The maximum depth of bundles within bundles within bundles within... + This is the size of a static array. If you exceed this limit you'll + get an error message. */ +#define MAX_BUNDLE_NESTING 32 /* You may have to redefine this typedef if ints on your system aren't 4 bytes. */ typedef unsigned int uint4; |