Fix: bad check of accept() return value
authorDavid Goulet <dgoulet@efficios.com>
Thu, 20 Dec 2012 01:56:04 +0000 (20:56 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 20 Dec 2012 01:56:06 +0000 (20:56 -0500)
commit534d2592c0566f7c07cd9e9f9385781a65566e16
tree9a8e8f996dbbf73091157dda92e7bc43daa58297
parent59e71485e5ee0f88fd3a19c25c6eea842e118d37
Fix: bad check of accept() return value

Also fix a missing ret = -1 assignment. Although, the chances are
unlikely to hit a positive ret value that does not match the structure
size, better safe than sorry.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c
This page took 0.024656 seconds and 4 git commands to generate.