[ 
https://issues.apache.org/jira/browse/PROTON-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved PROTON-206.
------------------------------------
    Resolution: Fixed

Closing old bug:
I think this has been fixed., but in any case these uses would cause a type 
mismatch when compiling in C++.

> 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)

Reply via email to