Corrected an error in initNodeClient in ext2spice that uses

TTMaskSetMask() like = instead of |=, which doesn't work because
the mask is uninitialized.
This commit is contained in:
Tim Edwards 2021-06-11 16:53:23 -04:00
parent 36f61ca601
commit e9f21885b3
1 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,8 @@ typedef struct {
#define initNodeClient(node) \
{ \
(node)->efnode_client = (ClientData) mallocMagic((unsigned) (sizeof(nodeClient))); \
(( nodeClient *)(node)->efnode_client)->spiceNodeName = NULL; \
(( nodeClient *)(node)->efnode_client)->spiceNodeName = NULL; \
TTMaskZero (&((nodeClient *) (node)->efnode_client)->m_w.visitMask); \
TTMaskSetMask(&(((nodeClient *)(node)->efnode_client)->m_w.visitMask), &initMask);\
}