ossec/ossec-hids — pull request #21 by jrossi (2014-01-29 15:15:54+00:00)
Title: HandleClient should try to open the m_queue in WRITE mode instead of READ

HandleClient does not ever exit after ossec is stopped or restarted
because the call to StartMQ on line 146 is for READ mode instead of
WRITE. When changed to WRITE, the StartMQ call fails and ossec-remoted
exits.

Original Pull REquest: https://bitbucket.org/jbcheng/ossec-hids/pull-request/27/handleclient-should-try-to-open-the/diff