[Spice-commits] spice/stream-device.h
Jonathon Jongsma
jjongsma at kemper.freedesktop.org
Thu Nov 9 17:43:08 UTC 2017
spice/stream-device.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 6371ecbcb104ba0c8b6e3cce17b465ec2ce5448e
Author: Jonathon Jongsma <jjongsma at redhat.com>
Date: Thu Nov 9 11:40:14 2017 -0600
Change STREAM_MSG_CAPABILITIES_MAX_BYTES
Clarify that this value specifies the size in bytes, not the number of
capabilities.
Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/spice/stream-device.h b/spice/stream-device.h
index 57de98b..2e7c50e 100644
--- a/spice/stream-device.h
+++ b/spice/stream-device.h
@@ -98,8 +98,8 @@ typedef enum StreamMsgType {
* If it is not sent, it means that guest/host doesn't support any extension.
* Guest should send this as a reply from same type of message
* from the host.
- * This message should be limited to STREAM_MSG_CAPABILITIES_MAX. This allows
- * plenty of negotiations.
+ * This message should be limited to STREAM_MSG_CAPABILITIES_MAX_BYTES. This
+ * allows plenty of negotiations.
*
* States allowed: Initial(host), Idle(guest)
* state will change to Idle.
@@ -108,7 +108,7 @@ typedef struct StreamMsgCapabilities {
uint8_t capabilities[0];
} StreamMsgCapabilities;
-#define STREAM_MSG_CAPABILITIES_MAX 1024
+#define STREAM_MSG_CAPABILITIES_MAX_BYTES 1024
/* Define the format of the stream, start a new stream.
* This message is sent by the guest to the host to
More information about the Spice-commits
mailing list