From dbd2d9689305ce5bf24aebd894551bb6b590f6e4 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sun, 30 Jul 2006 22:02:37 -0700 Subject: [PATCH] Implement error handling plan 7. Needs improvement: should not duplicate the code of every request function. --- src/c-client.xsl | 51 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 15 deletions(-) diff --git a/src/c-client.xsl b/src/c-client.xsl index e58d990..218e093 100644 --- a/src/c-client.xsl +++ b/src/c-client.xsl @@ -217,6 +217,33 @@ authorization from the authors. Cookie + + + + + + XCB + + + Checked + Unchecked + + + + + + + + + + + true + + + + + @@ -234,20 +261,14 @@ authorization from the authors. - - - - - - - - - - - true - - - + + + + + + + + @@ -612,7 +633,7 @@ authorization from the authors. xcb_ret.sequence = XCBSendRequest(c, - XCB_REQUEST_CHECKED + XCB_REQUEST_CHECKED 0 , xcb_parts + 2, &xcb_req); return xcb_ret; -- 2.34.1