Code

store: Added flags to JSON functions indicating information to leave out.
[sysdb.git] / src / frontend / query.c
index b3bf05e3bc83939d85b5de86faf099df49d392d1..675a002eaea897ece7dc4301c5fcd00f2660081a 100644 (file)
@@ -55,7 +55,7 @@ sdb_fe_list(sdb_conn_t *conn)
                return -1;
        }
 
-       if (sdb_store_tojson(buf)) {
+       if (sdb_store_tojson(buf, /* flags = */ 0)) {
                sdb_log(SDB_LOG_ERR, "frontend: Failed to serialize "
                                "store to JSON");
                sdb_strbuf_sprintf(conn->errbuf, "Out of memory");
@@ -67,7 +67,7 @@ sdb_fe_list(sdb_conn_t *conn)
                        (uint32_t)sdb_strbuf_len(buf), sdb_strbuf_string(buf));
        sdb_strbuf_destroy(buf);
        return 0;
-} /* session_start */
+} /* sdb_fe_list */
 
 /* vim: set tw=78 sw=4 ts=4 noexpandtab : */