Fixed return codes (added EPIPE).

This commit is contained in:
Jaroslav Kysela 2000-02-22 17:36:35 +00:00
parent 168728fd2e
commit 35723eca5f

View file

@ -1315,7 +1315,7 @@ void capture_go(int fd, int loaded, u_long count, int rtype, char *name)
}
count -= c;
}
if (l == -EAGAIN) {
if (l == -EPIPE) {
capture_read_error();
l = 0;
}