mirror of https://github.com/FreeRDP/FreeRDP
Code review feedback from FreeRDP folks
Before rolling into path for easy review.
This commit is contained in:
parent
e452467cd3
commit
78fd3b8d6c
|
@ -82,7 +82,6 @@ struct _GFXREDIR_CAPS_HEADER
|
|||
UINT32 signature; // GFXREDIR_CAPS_SIGNATURE
|
||||
UINT32 version; // GFXREDIR_CAPS_VERSION
|
||||
UINT32 length; // GFXREDIR_CAPS_HEADER_SIZE + size of capsData
|
||||
const BYTE capsData[0]; // GFXREDIR_CAPS_HEADER.length - GFXREDIR_CAPS_HEADER_SIZE
|
||||
};
|
||||
|
||||
typedef struct _GFXREDIR_CAPS_HEADER GFXREDIR_CAPS_HEADER;
|
||||
|
|
|
@ -254,7 +254,7 @@ struct rdp_update
|
|||
|
||||
wStream* us;
|
||||
UINT16 numberOrders;
|
||||
UINT16 offsetOrders; /* the offset to patch numberOrders in the stream */
|
||||
size_t offsetOrders; /* the offset to patch numberOrders in the stream */
|
||||
BOOL combineUpdates;
|
||||
rdpBounds currentBounds;
|
||||
rdpBounds previousBounds;
|
||||
|
|
|
@ -321,7 +321,11 @@ BOOL freerdp_peer_set_local_and_hostname(freerdp_peer* client,
|
|||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifdef AF_VSOCK
|
||||
else if (peer_addr->ss_family == AF_UNIX || peer_addr->ss_family == AF_VSOCK)
|
||||
#else
|
||||
else if (peer_addr->ss_family == AF_UNIX)
|
||||
#endif
|
||||
client->local = TRUE;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue