<p>reqlen should be ssize_t (signed), not size_t (unsigned). daemon.c:722 checks if reqlen < 0, which currently can never be true.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/commotiond ssize_t</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/commotiond/pull/87'>https://github.com/opentechinstitute/commotiond/pull/87</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>recv returns an ssize_t value, which is signed</li>
  <li>ssize_t fix in commotion.h</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/87/files#diff-0">src/commotion.c</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/87/files#diff-1">src/daemon.c</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/commotiond/pull/87.patch'>https://github.com/opentechinstitute/commotiond/pull/87.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/commotiond/pull/87.diff'>https://github.com/opentechinstitute/commotiond/pull/87.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/commotiond/pull/87'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNzI0MzgwMCwiZGF0YSI6eyJpZCI6MjUxMDg5MjN9fQ==--c6a05bd9d5e35d436cd266e7d818a4dd43fb4ae4.gif' height='1' width='1'></p>