You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2016/11/04 22:26:59 UTC
[jira] [Closed] (PROTON-206) Use const char* variables for string
literals
[ https://issues.apache.org/jira/browse/PROTON-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Ross closed PROTON-206.
------------------------------
> Use const char* variables for string literals
> ---------------------------------------------
>
> Key: PROTON-206
> URL: https://issues.apache.org/jira/browse/PROTON-206
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-c
> Affects Versions: 0.3
> Environment: all
> Reporter: Cliff Jansen
> Assignee: Cliff Jansen
> Priority: Minor
>
> proton sometimes uses declarations of the form
> char *host = "0.0.0.0";
> These should be hunted down and replaced with a const declaration. Where these variables are passed as arguments to other functions, those should be additionally changed to const where appropriate. This occurs in
> examples/messenger/c/send.c
> examples/messenger/c/recv.c
> src/messenger.c
> src/util.c
> src/proton.c
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org