Commit 92d27f5f authored by Julien Cristau's avatar Julien Cristau Committed by Bernhard Link

Fix minor/major code confusion in print_server_error()

Also make error seqno formatting consistent with the requests.
Patch by Chris Wilson.
parent 57b03eca
2009-10-05
* bugfix: the major/minor codes were transposed in
print_server_error() (thanks to Chris Wilson)
2009-09-11
* bugfix: fix LISTofTRAPEZOIDS offset in RenderTrapezoids (thanks to
Chris Wilson)
Chris Wilson)
2009-08-11
* bugfix: when running xtrace with command, it was terminating
when all connections were closed while the command still run
......
......@@ -1536,12 +1536,12 @@ static inline void print_server_error(struct connection *c) {
}
seq = (unsigned int)serverCARD16(2);
startline(c, TO_CLIENT, "%x:Error %hhu=%s: major=%u, minor=%u, bad=%u\n",
startline(c, TO_CLIENT, "%04x:Error %hhu=%s: major=%u, minor=%u, bad=%u\n",
seq,
cmd,
errorname,
(int)serverCARD16(8),
(int)serverCARD8(10),
(int)serverCARD16(8),
(int)serverCARD32(4));
/* don't wait for any answer */
for( lastp = &c->expectedreplies ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment