[ https://issues.apache.org/jira/browse/PROTON-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477540#comment-13477540 ]
Ken Giusti edited comment on PROTON-77 at 10/17/12 2:07 AM: ------------------------------------------------------------ Pushed the "const"-ness of the argument as far down the call chain as I could. I got as far as the codec.c, where the changes started to get complex - that's where I punted and used the cast ala Rafi's comment. See: http://svn.apache.org/viewvc?view=revision&revision=1399075 was (Author: kgiusti): Pushed the "const"-ness of the argument as far down the call chain as I could. I got as far as the codec.c, where the changes started to get complex - that's where I punted and used the cast ala Rafi's comment. > pn_transport_input api should declare the bytes parameter as constant. > ---------------------------------------------------------------------- > > Key: PROTON-77 > URL: https://issues.apache.org/jira/browse/PROTON-77 > Project: Qpid Proton > Issue Type: Improvement > Components: proton-c > Reporter: Ken Giusti > Assignee: Ken Giusti > Priority: Blocker > > The method should not modify the caller's data buffer. -- 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