[
https://issues.apache.org/jira/browse/TS-4971?focusedWorklogId=30638&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30638
]
ASF GitHub Bot logged work on TS-4971:
--------------------------------------
Author: ASF GitHub Bot
Created on: 14/Oct/16 15:14
Start Date: 14/Oct/16 15:14
Worklog Time Spent: 10m
Work Description: Github user jpeach commented on a diff in the pull
request:
https://github.com/apache/trafficserver/pull/1110#discussion_r83442185
--- Diff: lib/ts/apidefs.h.in ---
@@ -105,9 +105,9 @@ extern "C" {
*/
typedef struct {
- char *plugin_name;
- char *vendor_name;
- char *support_email;
+ char const *plugin_name;
+ char const *vendor_name;
+ char const *support_email;
--- End diff --
Everything else in this file uses ``const char *``. It would be better to
keep a consistent style.
Issue Time Tracking
-------------------
Worklog Id: (was: 30638)
Time Spent: 40m (was: 0.5h)
> Change TSPluginRegistration and TSPluginRegister to take const data
> -------------------------------------------------------------------
>
> Key: TS-4971
> URL: https://issues.apache.org/jira/browse/TS-4971
> Project: Traffic Server
> Issue Type: Improvement
> Components: Plugins
> Reporter: Alan M. Carroll
> Fix For: 7.1.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> These should be constant. The fact they are not causes problems and bad
> programming.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)