]> granicus.if.org Git - icinga2/commitdiff
livestatus: Fix OneAccessor.
authorMichael Friedrich <Michael.Friedrich@netways.de>
Thu, 3 Oct 2013 01:48:12 +0000 (03:48 +0200)
committerMichael Friedrich <Michael.Friedrich@netways.de>
Thu, 3 Oct 2013 01:48:12 +0000 (03:48 +0200)
components/livestatus/table.cpp

index 894b6d4d4a525078a50c59ada60bca9f553cdd2d..1ba47029541a46c1b016edebfc5640659b401f9e 100644 (file)
@@ -128,7 +128,7 @@ Value Table::ZeroAccessor(const Object::Ptr&)
 
 Value Table::OneAccessor(const Object::Ptr&)
 {
-       return 0;
+       return 1;
 }
 
 Value Table::EmptyStringAccessor(const Object::Ptr&)