summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/spice-streaming-agent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
index bc50256..e6291ad 100644
--- a/src/spice-streaming-agent.cpp
+++ b/src/spice-streaming-agent.cpp
@@ -86,6 +86,7 @@ private:
SpiceStream &operator=(const SpiceStream &) = delete;
private:
+ std::mutex stream_mtx;
int streamfd;
};
@@ -93,7 +94,6 @@ static int streaming_requested;
static bool quit;
static bool stdin_ok;
static int log_binary = 0;
-static std::mutex stream_mtx;
bool SpiceStream::have_something_to_read(int *pfd, int timeout)
{