Fu Juntang
2021-08-30 4fddc45ec1671304592c14ae970162c9c2518d06
src/bh_api.cpp
@@ -1290,6 +1290,12 @@
      const char *data;
   }_input1;
  
  struct _RequestReply
  {
    std::string proc_id;
    std::string data;
  }rr;
  ::bhome_msg::BHAddress input0;
   ::bhome_msg::MsgRequestTopic input1;
   if (!input0.ParseFromArray(remote, remote_len) || !input1.ParseFromArray(request, request_len)) {
@@ -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));