mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 04:10:12 +01:00
Another fix for MiscPassMessage(): Initialize returned "status".
This commit is contained in:
parent
264c3eefe6
commit
eea11301fd
1 changed files with 1 additions and 0 deletions
|
|
@ -604,6 +604,7 @@ ProcXF86MiscPassMessage(client)
|
|||
rep.mesglen = (retstr? strlen(retstr): 0);
|
||||
rep.length = (SIZEOF(xXF86MiscPassMessageReply) - SIZEOF(xGenericReply) +
|
||||
((rep.mesglen + 3) & ~3)) >> 2;
|
||||
rep.status = 0;
|
||||
|
||||
if (client->swapped) {
|
||||
swaps(&rep.sequenceNumber, n);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue