Fu Juntang
2021-08-30 4fddc45ec1671304592c14ae970162c9c2518d06
Fix the building issue.
1个文件已修改
12 ■■■■ 已修改文件
src/bh_api.cpp 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/bh_api.cpp
@@ -1289,6 +1289,12 @@
        const char *topic;
        const char *data;
    }_input1;
  struct _RequestReply
  {
    std::string proc_id;
    std::string data;
  }rr;
  
  ::bhome_msg::BHAddress input0;
    ::bhome_msg::MsgRequestTopic input1;
@@ -1389,12 +1395,6 @@
    memset(errString, 0x00, sizeof(errString));
    strncpy(errString, bus_strerror(rv), sizeof(errString));
    struct _RequestReply
    {
      std::string proc_id;
      std::string data;
    }rr;
    if (rv == 0) {
      memset(topics_buf, 0x00, sizeof(topics_buf));