rule.cpp
@@ -14,11 +14,9 @@ bool dbapi_get_dayctls(char *timeRules, std::vector<protomsg::DayCtl> & list) { const char * flag_key = NULL; bool is_array = true; const char * data_key = "time_rule"; bool ret = bus_dbapi_get_list(timeRules, flag_key, data_key, list); bool ret = bus_dbapi_get_list(timeRules, is_array, list); return ret; @@ -28,7 +26,7 @@ { const char * flag_key = NULL; const char * data_key = "time_range"; const char * data_key = NULL; bool ret = bus_dbapi_get_list(datactls, flag_key, data_key, list);