You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Steven A. Falco (JIRA)" <ji...@apache.org> on 2011/03/05 17:56:51 UTC

[jira] Updated: (AMQ-3201) Typo in CMS_BytesMessage.cpp

     [ https://issues.apache.org/jira/browse/AMQ-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven A. Falco updated AMQ-3201:
---------------------------------

    Attachment: bytes.patch

Patch

> Typo in CMS_BytesMessage.cpp
> ----------------------------
>
>                 Key: AMQ-3201
>                 URL: https://issues.apache.org/jira/browse/AMQ-3201
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: CMS (C++ client)
>    Affects Versions: 5.4.2
>            Reporter: Steven A. Falco
>            Priority: Minor
>         Attachments: bytes.patch
>
>
> There is a typo in src/main/c/CMS_BytesMessage.cpp from the activemq-c project.
> Replace
> if( readCount != -1 ) {
> with
> if( readCount == -1 ) {
> As it is now, the function always returns error 14.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira