Module: check_mk
Branch: master
Commit: fbab715bfacf688256d19a7b9df931d6e6f77660
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fbab715bfacf68…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Nov 18 15:10:07 2016 +0100
Fetched livestatus from downstream.
---
livestatus/src/Query.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/livestatus/src/Query.cc b/livestatus/src/Query.cc
index 3b13e78..a960ef6 100644
--- a/livestatus/src/Query.cc
+++ b/livestatus/src/Query.cc
@@ -198,7 +198,7 @@ Query::Query(const list<string> &lines, Table *table,
Encoding data_encoding)
for (const auto &sc : _stats_columns) {
// TODO(sp) We should really move column() from StatsColumn, it doesn't
// belong there... :-P
- if (sc->column()) {
+ if (sc->column() != nullptr) {
_all_columns.insert(sc->column());
}
}