aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/AsyncInputStream.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-06-17 00:52:12 +0200
committerMax Kellermann <max@duempel.org>2014-06-17 02:32:17 +0200
commit8b84e5b3f975e4ad692b7cdcb1b7212b41f25cf1 (patch)
tree4800ec5056d5109a31a5c0c6682c92bf8aa59d7e /src/input/AsyncInputStream.hxx
parente1d5ddb478cf8787f6472f14c0889af49b657c79 (diff)
downloadmpd-8b84e5b3f975e4ad692b7cdcb1b7212b41f25cf1.tar.gz
mpd-8b84e5b3f975e4ad692b7cdcb1b7212b41f25cf1.tar.xz
mpd-8b84e5b3f975e4ad692b7cdcb1b7212b41f25cf1.zip
input/curl: hold mutex while writing to postponed_error
Diffstat (limited to 'src/input/AsyncInputStream.hxx')
-rw-r--r--src/input/AsyncInputStream.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/AsyncInputStream.hxx b/src/input/AsyncInputStream.hxx
index a2945be81..c2055c17d 100644
--- a/src/input/AsyncInputStream.hxx
+++ b/src/input/AsyncInputStream.hxx
@@ -86,6 +86,8 @@ protected:
open = false;
}
+ void PostponeError(Error &&error);
+
bool IsBufferEmpty() const {
return buffer.IsEmpty();
}