Fu Juntang
2021-08-30 4fddc45ec1671304592c14ae970162c9c2518d06
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));