summaryrefslogtreecommitdiff
path: root/dix/dispatch.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-05-31 19:42:48 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-19 15:35:10 -0700
commit13ac1ba480ee3e89163825cd2777f9a6e9dcbc9f (patch)
tree2b900812958722a08910db0a9d7faba53d914b4f /dix/dispatch.c
parent78f946c297081d39d312e05928146c78f59fedcb (diff)
Remove unused ClientStateCheckingSecurity & ClientStateCheckedSecurity
Appear to be leftovers from the XC-QUERY-SECURITY code deleted in 2007 (commit 375864cb74cced40ae688078b1f7750998972535). Nothing left ever set clientState to ClientStateCheckingSecurity. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'dix/dispatch.c')
-rw-r--r--dix/dispatch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c
index 192c8c34e..e21f08ffe 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -3714,9 +3714,7 @@ ProcEstablishConnection(ClientPtr client)
* So we don't want to send the connection setup info yet, since
* the auth step isn't really done.
*/
- if (client->clientState == ClientStateCheckingSecurity)
- client->clientState = ClientStateCheckedSecurity;
- else if (client->clientState != ClientStateAuthenticating)
+ if (client->clientState != ClientStateAuthenticating)
return(SendConnSetup(client, reason));
return Success;
}