ifplusor commented on issue #342:
URL: 
https://github.com/apache/rocketmq-client-cpp/issues/342#issuecomment-768101447


   @kevinrsa I think use '%.*s' instead of '%s' is ok. Please test it,  and 
welcome to pr.
   
   ```c++
   LOG_DEBUG("msgBody is:%.*s, msgBody length is:%d", pBody->getSize(), 
msg_body, pBody->getSize()); 
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to