Return-Path: X-Original-To: apmail-qpid-proton-archive@minotaur.apache.org Delivered-To: apmail-qpid-proton-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DD68102A8 for ; Tue, 3 Sep 2013 14:59:00 +0000 (UTC) Received: (qmail 51221 invoked by uid 500); 3 Sep 2013 14:58:59 -0000 Delivered-To: apmail-qpid-proton-archive@qpid.apache.org Received: (qmail 51135 invoked by uid 500); 3 Sep 2013 14:58:59 -0000 Mailing-List: contact proton-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: proton@qpid.apache.org Delivered-To: mailing list proton@qpid.apache.org Received: (qmail 49039 invoked by uid 99); 3 Sep 2013 14:58:55 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 14:58:55 +0000 Date: Tue, 3 Sep 2013 14:58:55 +0000 (UTC) From: "Rafael H. Schloming (JIRA)" To: proton@qpid.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PROTON-206) Use const char* variables for string literals MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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