diff options
author | jdl <x75@users.sourceforge.net> | 2003-05-31 20:57:14 +0000 |
---|---|---|
committer | jdl <x75@users.sourceforge.net> | 2003-05-31 20:57:14 +0000 |
commit | 5c5bcd1690d44a352905a298af164ca3af36eb1a (patch) | |
tree | 61b00ca3cfeb579d826b3f042f2623b3f1a4bedc /OSC | |
parent | b002d230cb3c290b0e138ffb6c698301624fca51 (diff) |
/* update to OSCroute
svn path=/trunk/externals/OSCx/; revision=667
Diffstat (limited to 'OSC')
-rw-r--r-- | OSC/OSC-pattern-match.c | 6 | ||||
-rw-r--r-- | OSC/routeOSC.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/OSC/OSC-pattern-match.c b/OSC/OSC-pattern-match.c index 5e8226d..39dce87 100644 --- a/OSC/OSC-pattern-match.c +++ b/OSC/OSC-pattern-match.c @@ -56,7 +56,13 @@ Boolean PatternMatch (const char * pattern, const char * test) { // printf("OSC-pattern-match.c: pattern: %s, test: %s\n", pattern, test);
theWholePattern = pattern;
+
+ // post("pattern: %s, test: %s", pattern, test);
+ if(test[0] == '*') {
+ return TRUE;
+ }
+
if (pattern == 0 || pattern[0] == 0) {
return test[0] == 0;
}
diff --git a/OSC/routeOSC.c b/OSC/routeOSC.c index 4bd1185..176d71f 100644 --- a/OSC/routeOSC.c +++ b/OSC/routeOSC.c @@ -319,7 +319,6 @@ void OSCroute_doanything(t_OSCroute *x, t_symbol *s, int argc, t_atom *argv) { outlet_bang(x->x_outlets[i]);
} else if (argv[0].a_type == A_SYMBOL) {
// Promote the symbol that was argv[0] to the special symbol
-
outlet_anything(x->x_outlets[i], argv[0].a_w.w_symbol, argc-1, argv+1);
} else if (argc > 1) {
// Multiple arguments starting with a number, so naturally we have
|