(submit/fixup-req-len) Xext: bigreq: drop swapping request length fields
The request struct's length fields aren't used anymore - we have the client->req_len field instead, which also is bigreq-compatible. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									4d1aec3042
								
							
						
					
					
						commit
						02830d9dda
					
				| 
						 | 
					@ -49,9 +49,6 @@ ProcBigReqDispatch(ClientPtr client)
 | 
				
			||||||
    REQUEST(xBigReqEnableReq);
 | 
					    REQUEST(xBigReqEnableReq);
 | 
				
			||||||
    xBigReqEnableReply rep;
 | 
					    xBigReqEnableReply rep;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (client->swapped) {
 | 
					 | 
				
			||||||
        swaps(&stuff->length);
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    if (stuff->brReqType != X_BigReqEnable)
 | 
					    if (stuff->brReqType != X_BigReqEnable)
 | 
				
			||||||
        return BadRequest;
 | 
					        return BadRequest;
 | 
				
			||||||
    REQUEST_SIZE_MATCH(xBigReqEnableReq);
 | 
					    REQUEST_SIZE_MATCH(xBigReqEnableReq);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue