You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Steve Huston (JIRA)" <qp...@incubator.apache.org> on 2009/06/18 18:24:07 UTC

[jira] Resolved: (QPID-1787) Wrong parameter order of memset In cluster/Cpg.cpp

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

Steve Huston resolved QPID-1787.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6

Thanks. Fixed in svn trunk r786148.


> Wrong parameter order of memset In cluster/Cpg.cpp
> --------------------------------------------------
>
>                 Key: QPID-1787
>                 URL: https://issues.apache.org/jira/browse/QPID-1787
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>         Environment: Linux
>            Reporter: chenta lee
>             Fix For: 0.6
>
>         Attachments: Cpg.cpp.patch
>
>
> I found out that the parameter order is wrong when using "memset" in Cpg.cpp at line 72
> the original code is ::memset(&callbacks, sizeof(callbacks), 0) and it should be ::memset(&callbacks, 0, sizeof(callbacks));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org