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/OSC-pattern-match.c | |
parent | b002d230cb3c290b0e138ffb6c698301624fca51 (diff) |
/* update to OSCroute
svn path=/trunk/externals/OSCx/; revision=667
Diffstat (limited to 'OSC/OSC-pattern-match.c')
-rw-r--r-- | OSC/OSC-pattern-match.c | 6 |
1 files changed, 6 insertions, 0 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;
}
|