summaryrefslogtreecommitdiffstats
path: root/polyp/protocol-esound.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-01-06 01:07:43 +0000
committerLennart Poettering <lennart@poettering.net>2005-01-06 01:07:43 +0000
commitfb11e45cfd84290985e5a3c6f4c7a25fb1eab83c (patch)
tree59f65ccde5313c75514d1e0427856e49bf8c65a9 /polyp/protocol-esound.c
parent8199925cec93c9e7908f9afa9d18718623af13ee (diff)
minor fixes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@329 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/protocol-esound.c')
-rw-r--r--polyp/protocol-esound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/protocol-esound.c b/polyp/protocol-esound.c
index d9ed66b9..744ad4ed 100644
--- a/polyp/protocol-esound.c
+++ b/polyp/protocol-esound.c
@@ -714,7 +714,8 @@ static int do_read(struct connection *c) {
assert(c->read_data_length < sizeof(c->request));
if ((r = pa_iochannel_read(c->io, ((uint8_t*) &c->request) + c->read_data_length, sizeof(c->request) - c->read_data_length)) <= 0) {
- pa_log(__FILE__": read() failed: %s\n", r == 0 ? "EOF" : strerror(errno));
+ if (r != 0)
+ pa_log_warn(__FILE__": read() failed: %s\n", strerror(errno));
return -1;
}