mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-18 22:40:26 +01:00
Clarify authorization failure reason strings sent back to the client
This commit is contained in:
parent
c1703cdf3b
commit
a026972776
1 changed files with 2 additions and 2 deletions
|
|
@ -215,11 +215,11 @@ CheckAuthorization(unsigned int name_length,
|
|||
return (*protocols[i].Check) (data_length, data, client,
|
||||
reason);
|
||||
}
|
||||
*reason = "Protocol not supported by server\n";
|
||||
*reason = "Authorization protocol not supported by server\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
*reason = "No protocol specified\n";
|
||||
*reason = "Authorization required, but no authorization protocol specified\n";
|
||||
return (XID) ~0L;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue