diff options
Diffstat (limited to 'xorg-server/os/access.c')
-rw-r--r-- | xorg-server/os/access.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/xorg-server/os/access.c b/xorg-server/os/access.c index 71af6e7c9..97845994f 100644 --- a/xorg-server/os/access.c +++ b/xorg-server/os/access.c @@ -1182,14 +1182,6 @@ ComputeLocalClient(ClientPtr client) return FALSE; } -Bool -LocalClient(ClientPtr client) -{ - if (!client->osPrivate) - return FALSE; - return ((OsCommPtr) client->osPrivate)->local_client; -} - /* * Return the uid and gid of a connected local client * @@ -1351,7 +1343,7 @@ AuthorizedClient(ClientPtr client) if (rc != Success) return rc; - return LocalClient(client) ? Success : BadAccess; + return client->local ? Success : BadAccess; } /* Add a host to the access control list. This is the external interface |