mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 12:36:32 +01:00
Fixed return codes (added EPIPE).
This commit is contained in:
parent
168728fd2e
commit
35723eca5f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue