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:58:46 +0000 (14:58 -0500)
commit1b6f00fafb7ed097ff1952d6525db261ee82147e
treead07b6c6936314b9b4a751868ff4032e5fb9c7e7
parent6217f8c74f1b459b4a9ca89a756e1c3fbf16b76e
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.032115 seconds and 4 git commands to generate.