"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "regex/PathMatcher.cpp" between
muscle8.20.zip and muscle8.30.zip

About: MUSCLE (Multi User Server Client Linking Environment) is a messaging server and networking API. The included server program ("muscled") lets its clients message each other, and/or store information in its serverside hierarchical database.

PathMatcher.cpp  (muscle8.20):PathMatcher.cpp  (muscle8.30)
skipping to change at line 156 skipping to change at line 156
const StringMatcher * nextMatcher = nextSubscription->GetStringMatch ers().GetItemAt(j)->GetItemPointer(); const StringMatcher * nextMatcher = nextSubscription->GetStringMatch ers().GetItemAt(j)->GetItemPointer();
if ((nextToken == NULL)||((nextMatcher)&&(nextMatcher->Match(nextTok en) == false))) if ((nextToken == NULL)||((nextMatcher)&&(nextMatcher->Match(nextTok en) == false)))
{ {
matched = false; matched = false;
break; break;
} }
} }
if (matched) if (matched)
{ {
ConstMessageRef constMsg(optMessage, false); DummyConstMessageRef constMsg(optMessage);
const QueryFilter * filter = iter.GetValue().GetFilter()(); const QueryFilter * filter = iter.GetValue().GetFilter()();
if ((filter == NULL)||(optMessage == NULL)||(filter->Matches(constMs g, optNode))) return true; if ((filter == NULL)||(optMessage == NULL)||(filter->Matches(constMs g, optNode))) return true;
} }
} }
} }
return false; return false;
} }
// Returns a pointer into (path) after the (depth)'th '/' char // Returns a pointer into (path) after the (depth)'th '/' char
const char * GetPathClause(int depth, const char * path) const char * GetPathClause(int depth, const char * path)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)