diff --git a/src/modules/module-protocol-simple.c b/src/modules/module-protocol-simple.c index e6f54a90c..389c7ab4c 100644 --- a/src/modules/module-protocol-simple.c +++ b/src/modules/module-protocol-simple.c @@ -305,10 +305,11 @@ static void capture_process(void *data) if (res < 0) { if (errno == EINTR) continue; - if (errno != EAGAIN && errno != EWOULDBLOCK) + if (errno != EAGAIN && errno != EWOULDBLOCK) { pw_log_warn("%p: client:%p [%s] send error %d: %m", impl, client, client->name, res); - client_cleanup(client); + client_cleanup(client); + } break; } offset += res;