diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-10 20:22:05 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-05-13 17:14:07 -0700 |
commit | 92ed75ac59e2d3af149cddb962efd05fc8487750 (patch) | |
tree | c05f3b03627ebd67a921fcec5cef3655083bb345 /Xext/xres.c | |
parent | 11c69880c7c48ef9e755c4e09fadef7a629d7bc7 (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 'Xext/xres.c')
-rw-r--r-- | Xext/xres.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Xext/xres.c b/Xext/xres.c index 14641f70f..06639a2cf 100644 --- a/Xext/xres.c +++ b/Xext/xres.c @@ -50,7 +50,7 @@ ProcXResQueryVersion (ClientPtr client) swaps(&rep.server_minor, n); } WriteToClient(client, sizeof (xXResQueryVersionReply), (char *)&rep); - return (client->noClientException); + return Success; } static int @@ -103,7 +103,7 @@ ProcXResQueryClients (ClientPtr client) free(current_clients); - return (client->noClientException); + return Success; } @@ -184,7 +184,7 @@ ProcXResQueryClientResources (ClientPtr client) free(counts); - return (client->noClientException); + return Success; } static unsigned long @@ -295,7 +295,7 @@ ProcXResQueryClientPixmapBytes (ClientPtr client) } WriteToClient (client,sizeof(xXResQueryClientPixmapBytesReply),(char*)&rep); - return (client->noClientException); + return Success; } static int |