]> granicus.if.org Git - icinga2/commitdiff
Build fix.
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 16 Oct 2013 10:10:31 +0000 (12:10 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 16 Oct 2013 10:10:31 +0000 (12:10 +0200)
lib/icinga/externalcommandprocessor.cpp

index 3079837d84ca19bcaed06d5165a4e045f81cb440..5d182e5ff1742970dd59f5bad321afca31be29ac 100644 (file)
@@ -1855,7 +1855,7 @@ void ExternalCommandProcessor::ChangeHostModattr(double time, const std::vector<
        int modifiedAttributes = Convert::ToLong(arguments[2]);
 
        {
-               ObjectLock olock(service);
+               ObjectLock olock(hc);
 
                hc->SetModifiedAttributes(modifiedAttributes);
        }