diff options
author | Max Kellermann <max@duempel.org> | 2014-08-31 18:26:32 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-31 18:26:32 +0200 |
commit | ba8e3f11e26a1cebf9f10eea3613d440c52f1638 (patch) | |
tree | 187283d84d53a3224cf8f45eb740eb66dd01f712 /src/input | |
parent | fd8a53ca3d9ce29e11a88c90e8b69b1a9dcb32b7 (diff) | |
download | mpd-ba8e3f11e26a1cebf9f10eea3613d440c52f1638.tar.gz mpd-ba8e3f11e26a1cebf9f10eea3613d440c52f1638.tar.xz mpd-ba8e3f11e26a1cebf9f10eea3613d440c52f1638.zip |
input/nfs: notify client on error
Fixes hanging NFS client.
Diffstat (limited to '')
-rw-r--r-- | src/input/plugins/NfsInputPlugin.cxx | 2 |
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(); } /* |