Fu Juntang
2021-09-01 387fe1dbfffdc3d73cf46f2c054f4d25543c8523
Fix the building issue when protobuf is enabled.
1个文件已修改
2 ■■■ 已修改文件
src/bh_api.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/bh_api.cpp
@@ -797,7 +797,7 @@
#if defined(PRO_DE_SERIALIZE)   
    for (i = 0; i < _input.amount; i++) {
      len = strlen(_input.topics[i]);
      strncpy(topics_buf + count, _input.topics[i], min);
      strncpy(topics_buf + count, _input.topics[i], len);
      
      count += len;