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 --- record/record.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'record') diff --git a/record/record.c b/record/record.c index 930374001..1b55d6bf0 100644 --- a/record/record.c +++ b/record/record.c @@ -1903,7 +1903,7 @@ ProcRecordQueryVersion(ClientPtr client) } (void)WriteToClient(client, sizeof(xRecordQueryVersionReply), (char *)&rep); - return (client->noClientException); + return Success; } /* ProcRecordQueryVersion */ @@ -2347,7 +2347,7 @@ ProcRecordGetContext(ClientPtr client) (char *)pri->pRanges); } } - err = client->noClientException; + err = Success; bailout: for (i = 0; i < nRCAPs; i++) -- cgit v1.2.3