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

        

Reply via email to