qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael H. Schloming (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PROTON-206) Use const char* variables for string literals
Date Tue, 03 Sep 2013 14:58:55 GMT

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

Rafael H. Schloming updated PROTON-206:
---------------------------------------

    Fix Version/s:     (was: 0.4)
    
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message