mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-30 23:05:05 +00:00
Another fix for MiscPassMessage(): Initialize returned "status".
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user