Another fix for MiscPassMessage(): Initialize returned "status".

This commit is contained in:
Thomas Winischhofer 2004-12-15 15:05:35 +00:00
parent 264c3eefe6
commit eea11301fd

View File

@ -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);