Remove unused ClientStateCheckingSecurity & ClientStateCheckedSecurity
Appear to be leftovers from the XC-QUERY-SECURITY code deleted in 2007
(commit 375864cb74).
Nothing left ever set clientState to ClientStateCheckingSecurity.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
			
			
This commit is contained in:
		
							parent
							
								
									78f946c297
								
							
						
					
					
						commit
						13ac1ba480
					
				| 
						 | 
				
			
			@ -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;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,9 +60,8 @@ typedef enum {ClientStateInitial,
 | 
			
		|||
	      ClientStateAuthenticating,
 | 
			
		||||
	      ClientStateRunning,
 | 
			
		||||
	      ClientStateRetained,
 | 
			
		||||
	      ClientStateGone,
 | 
			
		||||
	      ClientStateCheckingSecurity,
 | 
			
		||||
	      ClientStateCheckedSecurity} ClientState;
 | 
			
		||||
	      ClientStateGone
 | 
			
		||||
} ClientState;
 | 
			
		||||
 | 
			
		||||
#ifdef XFIXES
 | 
			
		||||
typedef struct _saveSet {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue