mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-11 01:30:22 -04:00
Fixed return value for Utility::Match.
This commit is contained in:
parent
4cbf2400c0
commit
6f216e07ae
1 changed files with 1 additions and 1 deletions
|
|
@ -141,5 +141,5 @@ shared_ptr<X509> Utility::GetX509Certificate(string pemfile)
|
|||
|
||||
bool Utility::Match(string pattern, string text)
|
||||
{
|
||||
return (match(pattern.c_str(), text.c_str()) != 0);
|
||||
return (match(pattern.c_str(), text.c_str()) == 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue