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 --- Xext/xcalibrate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Xext/xcalibrate.c') diff --git a/Xext/xcalibrate.c b/Xext/xcalibrate.c index 6e6461a5f..364b92ac4 100644 --- a/Xext/xcalibrate.c +++ b/Xext/xcalibrate.c @@ -90,7 +90,7 @@ ProcXCalibrateQueryVersion (ClientPtr client) swaps(&rep.minorVersion, n); } WriteToClient(client, sizeof (xXCalibrateQueryVersionReply), (char *)&rep); - return (client->noClientException); + return Success; } static int @@ -160,7 +160,7 @@ ProcXCalibrateSetRawMode (ClientPtr client) swaps (&rep.status, n); } WriteToClient(client, sizeof (rep), (char *) &rep); - return (client->noClientException); + return Success; } static int @@ -200,7 +200,7 @@ ProcXCalibrateScreenToCoord (ClientPtr client) swaps (&rep.y, n); } WriteToClient(client, sizeof (rep), (char *) &rep); - return (client->noClientException); + return Success; } static int -- cgit v1.2.3