[Commotion-admin] [commotiond] return value of recv should be ssize_t (#87)

Dan Staples notifications at github.com
Thu Feb 6 18:23:20 UTC 2014


reqlen should be ssize_t (signed), not size_t (unsigned). daemon.c:722 checks if reqlen < 0, which currently can never be true.
You can merge this Pull Request by running:

  git pull https://github.com/opentechinstitute/commotiond ssize_t

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/commotiond/pull/87

-- Commit Summary --

  * recv returns an ssize_t value, which is signed
  * ssize_t fix in commotion.h

-- File Changes --

    M src/commotion.c (3)
    M src/daemon.c (2)

-- Patch Links --

https://github.com/opentechinstitute/commotiond/pull/87.patch
https://github.com/opentechinstitute/commotiond/pull/87.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotiond/pull/87
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140206/95c28ef8/attachment.html>


More information about the Commotion-admin mailing list