From 92ed75ac59e2d3af149cddb962efd05fc8487750 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Mon, 10 May 2010 20:22:05 -0700 Subject: Eliminate boilerplate around client->noClientException. Just let Dispatch() check for a noClientException, rather than making every single dispatch procedure take care of it. Signed-off-by: Jamey Sharp Reviewed-by: Daniel Stone --- dbe/dbe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dbe') diff --git a/dbe/dbe.c b/dbe/dbe.c index f4d088c8a..b28b3a0e6 100644 --- a/dbe/dbe.c +++ b/dbe/dbe.c @@ -147,7 +147,7 @@ ProcDbeGetVersion(ClientPtr client) WriteToClient(client, sizeof(xDbeGetVersionReply), (char *)&rep); - return(client->noClientException); + return Success; } /* ProcDbeGetVersion() */ @@ -810,7 +810,7 @@ ProcDbeGetVisualInfo(ClientPtr client) free(pDrawables); } - return(client->noClientException); + return Success; } /* ProcDbeGetVisualInfo() */ @@ -866,7 +866,7 @@ ProcDbeGetBackBufferAttributes(ClientPtr client) WriteToClient(client, sizeof(xDbeGetBackBufferAttributesReply), (char *)&rep); - return(client->noClientException); + return Success; } /* ProcDbeGetbackBufferAttributes() */ -- cgit v1.2.3