diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2020-03-20 08:55:13 +0000 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2020-03-20 08:55:13 +0000 |
commit | 0ceb92087e9bfa347cecb9c5c0f200b44c35e392 (patch) | |
tree | c53fb084397374e5a05c6695a9acdee25841ae9a | |
parent | dfc27e60d7775f988d3f710263cbd6aa682b86fa (diff) |
vd_agent: Fix indentation
Use 4 spaces, not 3.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | spice/vd_agent.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/spice/vd_agent.h b/spice/vd_agent.h index 5a2eb81..3c4b89a 100644 --- a/spice/vd_agent.h +++ b/spice/vd_agent.h @@ -120,19 +120,19 @@ enum { }; typedef struct SPICE_ATTR_PACKED VDAgentFileXferStatusMessage { - uint32_t id; - uint32_t result; - /* Used to send additional data for detailed error messages - * to clients with VD_AGENT_CAP_FILE_XFER_DETAILED_ERRORS capability. - * Type of data varies with the result: - * result : data type (NULL if no data) - * VD_AGENT_FILE_XFER_STATUS_ERROR : VDAgentFileXferStatusError - * VD_AGENT_FILE_XFER_STATUS_NOT_ENOUGH_SPACE : VDAgentFileXferStatusNotEnoughSpace - * VD_AGENT_FILE_XFER_STATUS_SESSION_LOCKED : NULL - * VD_AGENT_FILE_XFER_STATUS_VDAGENT_NOT_CONNECTED : NULL - * VD_AGENT_FILE_XFER_STATUS_DISABLED : NULL - */ - uint8_t data[0]; + uint32_t id; + uint32_t result; + /* Used to send additional data for detailed error messages + * to clients with VD_AGENT_CAP_FILE_XFER_DETAILED_ERRORS capability. + * Type of data varies with the result: + * result : data type (NULL if no data) + * VD_AGENT_FILE_XFER_STATUS_ERROR : VDAgentFileXferStatusError + * VD_AGENT_FILE_XFER_STATUS_NOT_ENOUGH_SPACE : VDAgentFileXferStatusNotEnoughSpace + * VD_AGENT_FILE_XFER_STATUS_SESSION_LOCKED : NULL + * VD_AGENT_FILE_XFER_STATUS_VDAGENT_NOT_CONNECTED : NULL + * VD_AGENT_FILE_XFER_STATUS_DISABLED : NULL + */ + uint8_t data[0]; } VDAgentFileXferStatusMessage; /* Detailed error for VD_AGENT_FILE_XFER_STATUS_NOT_ENOUGH_SPACE. @@ -166,14 +166,14 @@ typedef struct SPICE_ATTR_PACKED VDAgentFileXferStatusError { } VDAgentFileXferStatusError; typedef struct SPICE_ATTR_PACKED VDAgentFileXferStartMessage { - uint32_t id; - uint8_t data[0]; + uint32_t id; + uint8_t data[0]; } VDAgentFileXferStartMessage; typedef struct SPICE_ATTR_PACKED VDAgentFileXferDataMessage { - uint32_t id; - uint64_t size; - uint8_t data[0]; + uint32_t id; + uint64_t size; + uint8_t data[0]; } VDAgentFileXferDataMessage; typedef struct SPICE_ATTR_PACKED VDAgentMonConfig { |