summaryrefslogtreecommitdiff
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
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>
-rw-r--r--dix/dispatch.c4
-rw-r--r--include/dixstruct.h5
2 files changed, 3 insertions, 6 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;
}
diff --git a/include/dixstruct.h b/include/dixstruct.h
index 443e8b0ae..90e617b66 100644
--- a/include/dixstruct.h
+++ b/include/dixstruct.h
@@ -60,9 +60,8 @@ typedef enum {ClientStateInitial,
ClientStateAuthenticating,
ClientStateRunning,
ClientStateRetained,
- ClientStateGone,
- ClientStateCheckingSecurity,
- ClientStateCheckedSecurity} ClientState;
+ ClientStateGone
+} ClientState;
#ifdef XFIXES
typedef struct _saveSet {