[Spice-devel] [PATCH 1/2] Fix typo for macro name

Frediano Ziglio fziglio at redhat.com
Tue Aug 2 09:12:20 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/stream.c | 2 +-
 server/stream.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/stream.c b/server/stream.c
index 985bc71..e56c419 100644
--- a/server/stream.c
+++ b/server/stream.c
@@ -232,7 +232,7 @@ static bool is_next_stream_frame(DisplayChannel *display,
     }
 
     if (candidate->creation_time - other_time >
-            (stream ? RED_STREAM_CONTINUS_MAX_DELTA : RED_STREAM_DETACTION_MAX_DELTA)) {
+            (stream ? RED_STREAM_CONTINUOUS_MAX_DELTA : RED_STREAM_DETACTION_MAX_DELTA)) {
         return FALSE;
     }
 
diff --git a/server/stream.h b/server/stream.h
index b4fe540..aaf61a5 100644
--- a/server/stream.h
+++ b/server/stream.h
@@ -27,7 +27,7 @@
 #include "image-cache.h"
 
 #define RED_STREAM_DETACTION_MAX_DELTA (NSEC_PER_SEC / 5)
-#define RED_STREAM_CONTINUS_MAX_DELTA NSEC_PER_SEC
+#define RED_STREAM_CONTINUOUS_MAX_DELTA NSEC_PER_SEC
 #define RED_STREAM_TIMEOUT NSEC_PER_SEC
 #define RED_STREAM_FRAMES_START_CONDITION 20
 #define RED_STREAM_GRADUAL_FRAMES_START_CONDITION 0.2
-- 
2.7.4



More information about the Spice-devel mailing list