diff options
Diffstat (limited to 'src/spice-streaming-agent.cpp')
-rw-r--r-- | src/spice-streaming-agent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp index d18e8be..31a68bc 100644 --- a/src/spice-streaming-agent.cpp +++ b/src/spice-streaming-agent.cpp @@ -37,7 +37,7 @@ using namespace SpiceStreamingAgent; static ConcreteAgent agent; -int streaming_requested; +static int streaming_requested; static bool quit; static bool stdin_ok; static int log_binary = 0; @@ -101,7 +101,7 @@ static int read_command(SpiceStream &stream, bool blocking) continue; } if (fd) { - n = stream.read_command(); + n = stream.read_command(streaming_requested); } else { n = read_command_from_stdin(); } |