[ https://issues.apache.org/jira/browse/PROTON-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742506#comment-17742506 ]
ASF subversion and git services commented on PROTON-2752: --------------------------------------------------------- Commit cd5f8d04388ab12b9c56ba097ef78b57e132cf63 in qpid-proton's branch refs/heads/main from Andrew Stitcher [ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=cd5f8d043 ] PROTON-2752: Fix pn_string operations to behave better This change makes passing NULL for a pn_string the equivalent of the string with null content everywhere that it can. > Use pn_string_t/pn_bytes_t instead of raw char* > ----------------------------------------------- > > Key: PROTON-2752 > URL: https://issues.apache.org/jira/browse/PROTON-2752 > Project: Qpid Proton > Issue Type: Improvement > Components: proton-c > Reporter: Andrew Stitcher > Assignee: Andrew Stitcher > Priority: Major > Fix For: proton-c-0.40.0 > > > There are a few places where we hold a pn_string_t convert it to char* then > convert it to pn_bytes_t. We can "cut out the middleman"! and be more > efficient and have less code overall! -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org