[Spice-devel] [PATCH v2 23/24] Rename 'streamfd' variable to 'stream', no longer a file descriptor

Christophe de Dinechin christophe at dinechin.org
Wed Feb 21 17:46:35 UTC 2018


From: Christophe de Dinechin <dinechin at redhat.com>

Signed-off-by: Christophe de Dinechin <dinechin at redhat.com>
---
 src/spice-streaming-agent.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
index a789aad..b889acc 100644
--- a/src/spice-streaming-agent.cpp
+++ b/src/spice-streaming-agent.cpp
@@ -638,10 +638,10 @@ int main(int argc, char* argv[])
         // register built-in plugins
         MjpegPlugin::Register(&agent);
         agent.LoadPlugins(PLUGINSDIR);
-        Stream streamfd(streamport);
-        X11CursorThread cursor_thread(streamfd);
+        Stream stream(streamport);
+        X11CursorThread cursor_thread(stream);
         FrameLog frame_log(log_filename, log_binary);
-        agent.CaptureLoop(streamfd, frame_log);
+        agent.CaptureLoop(stream, frame_log);
     }
     catch (Error &err) {
         syslog(LOG_ERR, "%s\n", err.message().c_str());
-- 
2.13.5 (Apple Git-94)



More information about the Spice-devel mailing list