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