diff --git a/src/frontend/query.c b/src/frontend/query.c
index 675b3960a48c7680a75a1a0ef1c34d808635144d..53ba81aac38b03dd24bc07922b146a1dc6d23c4c 100644 (file)
--- a/src/frontend/query.c
+++ b/src/frontend/query.c
sdb_strbuf_t *buf = user_data;
if (sdb_strbuf_len(buf) > 1)
sdb_strbuf_append(buf, ",");
- return sdb_store_host_tojson(obj, buf, /* flags = */ 0);
+ return sdb_store_host_tojson(obj, buf,
+ /* filter = */ NULL, /* flags = */ 0);
} /* lookup_tojson */
/*
return -1;
}
- if (sdb_store_host_tojson(host, buf, /* flags = */ 0)) {
+ if (sdb_store_host_tojson(host, buf,
+ /* filter = */ NULL, /* flags = */ 0)) {
sdb_log(SDB_LOG_ERR, "frontend: Failed to serialize "
"host '%s' to JSON", name);
sdb_strbuf_sprintf(conn->errbuf, "Out of memory");
return -1;
}
- if (sdb_store_tojson(buf, /* flags = */ SDB_SKIP_ALL)) {
+ if (sdb_store_tojson(buf,
+ /* filter = */ NULL, /* flags = */ SDB_SKIP_ALL)) {
sdb_log(SDB_LOG_ERR, "frontend: Failed to serialize "
"store to JSON");
sdb_strbuf_sprintf(conn->errbuf, "Out of memory");