diff options
Diffstat (limited to 'src/pulsecore/iochannel.c')
-rw-r--r-- | src/pulsecore/iochannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/iochannel.c b/src/pulsecore/iochannel.c index e25824b78..eb93176ec 100644 --- a/src/pulsecore/iochannel.c +++ b/src/pulsecore/iochannel.c @@ -227,7 +227,7 @@ ssize_t pa_iochannel_write(pa_iochannel*io, const void*data, size_t l) { return r; /* Fast path - we almost always successfully write everything */ if (r < 0) { - if (errno == EINTR || errno == EAGAIN) + if (errno == EAGAIN) r = 0; else return r; |