[
https://issues.apache.org/jira/browse/PROTON-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891380#comment-16891380
]
ASF GitHub Bot commented on PROTON-2079:
----------------------------------------
jdanekrh commented on pull request #185: PROTON-2079: Fix usage of formatting
placeholders in printfs
URL: https://github.com/apache/qpid-proton/pull/185#discussion_r306532910
##########
File path: c/tools/msgr-send.c
##########
@@ -289,7 +289,7 @@ int main(int argc, char** argv)
check_messenger(messenger);
}
- LOG("Messages received=%llu sent=%llu\n", received, sent);
+ LOG("Messages received=%" PRIu64 " sent=%" PRIu64 "\n", received, sent);
Review comment:
They don't, but it's in "platform/platform.fmt"
https://github.com/apache/qpid-proton/blob/97b62d2b7ce22c84e7d8db1ace8aa0355ea5fbe7/c/src/platform/platform_fmt.h#L61-L65
----------------------------------------------------------------
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]
> Coverity issues related to printf on master branch
> --------------------------------------------------
>
> Key: PROTON-2079
> URL: https://issues.apache.org/jira/browse/PROTON-2079
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: proton-c-0.28.0
> Reporter: Jiri Daněk
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]