summaryrefslogtreecommitdiff
path: root/dbe
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-05-10 20:22:05 -0700
committerJamey Sharp <jamey@minilop.net>2010-05-13 17:14:07 -0700
commit92ed75ac59e2d3af149cddb962efd05fc8487750 (patch)
treec05f3b03627ebd67a921fcec5cef3655083bb345 /dbe
parent11c69880c7c48ef9e755c4e09fadef7a629d7bc7 (diff)
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 <jamey@minilop.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'dbe')
-rw-r--r--dbe/dbe.c6
1 files changed, 3 insertions, 3 deletions
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() */