[ 
https://issues.apache.org/jira/browse/TS-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166334#comment-13166334
 ] 

James Peach commented on TS-1040:
---------------------------------

Yep I meant to click the donate button but forgot. I didn't see a way to toggle 
it after the fact. Do you need me to attach it again?
                
> PATCH: teach TSHostLookup to use const
> --------------------------------------
>
>                 Key: TS-1040
>                 URL: https://issues.apache.org/jira/browse/TS-1040
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: DNS
>            Reporter: James Peach
>            Priority: Minor
>         Attachments: 
> 0002-TSHostLookup-should-take-const-hostname-argument.patch
>
>
> This patch improves the TSHostLookup() API by specifying it's hostname 
> argument as const. This reduces the number of casts required of plugin 
> authors.
> The new prototype is:
> tsapi TSAction TSHostLookup(TSCont contp, const char* hostname, size_t 
> namelen)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to