Some minor fix I had laying around on some machine.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25351 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-05-07 16:23:00 +00:00
parent e01137a6b3
commit 1a662751d5

View File

@ -553,9 +553,14 @@ Rule::Dump()
RuleMatcher::RuleMatcher(team_id team, const char *name)
:
fRules(NULL)
{
recursive_lock_lock(&sLock);
if (name == NULL)
return;
fRules = (team_rules *)hash_lookup(sTeamHash, &team);
if (fRules != NULL)
return;