aboutsummaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-31 18:26:32 +0200
committerMax Kellermann <max@duempel.org>2014-08-31 18:26:32 +0200
commitba8e3f11e26a1cebf9f10eea3613d440c52f1638 (patch)
tree187283d84d53a3224cf8f45eb740eb66dd01f712 /src/input
parentfd8a53ca3d9ce29e11a88c90e8b69b1a9dcb32b7 (diff)
downloadmpd-ba8e3f11e26a1cebf9f10eea3613d440c52f1638.tar.gz
mpd-ba8e3f11e26a1cebf9f10eea3613d440c52f1638.tar.xz
mpd-ba8e3f11e26a1cebf9f10eea3613d440c52f1638.zip
input/nfs: notify client on error
Fixes hanging NFS client.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/plugins/NfsInputPlugin.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/plugins/NfsInputPlugin.cxx b/src/input/plugins/NfsInputPlugin.cxx
index baa707738..a34e6d344 100644
--- a/src/input/plugins/NfsInputPlugin.cxx
+++ b/src/input/plugins/NfsInputPlugin.cxx
@@ -170,6 +170,8 @@ NfsInputStream::OnNfsFileError(Error &&error)
SeekDone();
else if (!IsReady())
SetReady();
+ else
+ cond.broadcast();
}
/*