Fix: cleanup relayd on any I/O error in read subbuffer mmap
authorDavid Goulet <dgoulet@efficios.com>
Tue, 11 Feb 2014 18:21:59 +0000 (13:21 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 11 Feb 2014 19:02:00 +0000 (14:02 -0500)
commit994ab360b3264e19fdf590178601fa1f9f6489d0
tree59156f0702cd8e07a402b1fc37d8cba09f9fb138
parent212d67a218a0e805950f85bd95143a996e957322
Fix: cleanup relayd on any I/O error in read subbuffer mmap

Any I/O operation that triggers an error now cleans the relayd since
there is no way we can recover from that in any cases and streams
associated to that relayd need to be cleaned up.

This commit also removes the "written" variable that is simply not
needed and was a bit confusing as a returned value.

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